Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.05ms] Passed 4 tests
This is a short check of server-side resources used by FTP to Zip
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.18 ▼4.16 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.50 ▼9.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.84 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.06 ▲4.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.57 ▲0.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FTP to Zip
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.17 | 1.84 ▼0.09 | 41.13 ▼0.04 |
Dashboard /wp-admin | 2,209 ▲24 | 5.88 ▲0.07 | 102.09 ▲0.14 | 40.20 ▲0.26 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.02 | 32.93 ▼5.92 | 33.91 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.44 ▲0.20 | 622.96 ▼56.33 | 55.57 ▼2.52 |
Media Library /wp-admin/upload.php | 1,385 ▲6 | 4.24 ▲0.04 | 103.08 ▲0.65 | 43.71 ▼0.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ftp-to-zip/backup.php
- > /wp-content/plugins/ftp-to-zip/run.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
ZipArchive::close(): Read error: Is a directory in wp-content/plugins/ftp-to-zip/backup.php on line 86
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (GUI matches with WordPress)
ftp-to-zip/ftp-to-zip.php Passed 13 tests
The main file in "FTP to Zip" v. 1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
FTP to Zip takes browser based FTP backup of WordPress plus other folders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected117 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 69 | 42 | 117 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 37.98KB | 17.37KB | ▼ 54.26% |