Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.37ms] Passed 4 tests
An overview of server-side resources used by FTP Sync - Theme, Media & Plugin Files
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.03 ▼6.83 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.76 ▲6.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.02 ▼2.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.74 ▼16.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.16 ▼0.10 |
FTP Sync /wp-admin/options-general.php?page=ftp-sync-options | 3.18 | 33.36 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ftp_sync_port |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
ftp_sync_newer_by |
ftp_sync_active_mode |
widget_recent-posts |
theysaidso_admin_options |
ftp_sync_remote_wp_content_dir |
can_compress_scripts |
Browser metrics Passed 4 tests
FTP Sync - Theme, Media & Plugin Files: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.40 ▼0.97 | 1.69 ▼0.23 | 40.68 ▼3.37 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.99 | 101.29 ▼4.16 | 36.96 ▼6.24 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.05 | 36.38 ▼4.59 | 38.34 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 23.07 ▲4.92 | 698.78 ▲51.80 | 60.83 ▼3.26 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.02 | 98.86 ▼11.78 | 41.26 ▼4.80 |
FTP Sync /wp-admin/options-general.php?page=ftp-sync-options | 754 | 2.07 | 24.93 | 21.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- ftp_sync_active_mode
- db_upgraded
- ftp_sync_remote_wp_content_dir
- ftp_sync_newer_by
- can_compress_scripts
- ftp_sync_port
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=ftp-sync-options
- > Notice in wp-content/plugins/ftp-sync/ftp-sync.php+266
Undefined variable: html
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ftp-sync/ftp-sync.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== ftp-sync ===
)
ftp-sync/ftp-sync.php 92% from 13 tests
The main PHP script in "FTP Sync - Theme, Media & Plugin Files" version 1.1.6 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 224 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected851 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 203 | 121 | 851 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 17 | |
▷ Named functions | 17 | 100.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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ftp-sync-logo.png | 8.12KB | 4.73KB | ▼ 41.76% |