Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.67MB] [CPU: ▲6.27ms] Passed 4 tests
Server-side resources used by Solid Central – Site Management, Backups, Security, and Reporting
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.50 | 52.78 ▲8.80 |
Dashboard /wp-admin | 4.03 ▲0.72 | 58.96 ▲4.98 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 56.22 ▲6.86 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 97.53 ▲4.43 |
Media Library /wp-admin/upload.php | 3.95 ▲0.72 | 50.96 ▲15.24 |
Solid Central /wp-admin/options-general.php?page=solid-central | 3.98 | 44.38 |
SolidWP Licensing /wp-admin/options-general.php?page=ithemes-licensing | 4.15 | 43.85 |
Server storage [IO: ▲0.51MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 110 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ithemes-sync-dashboard-metaboxes |
widget_theysaidso_widget |
ithemes-sync-admin_menu |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Solid Central – Site Management, Backups, Security, and Reporting
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲100 | 14.22 ▼0.29 | 1.90 ▲0.20 | 32.68 ▼11.81 |
Dashboard /wp-admin | 2,267 ▲89 | 5.52 ▼0.14 | 91.66 ▼22.62 | 42.62 ▼2.99 |
Posts /wp-admin/edit.php | 2,180 ▲80 | 1.99 ▲0.03 | 37.31 ▲0.54 | 34.71 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.58 ▲0.35 | 711.24 ▲54.30 | 55.45 ▼0.42 |
Media Library /wp-admin/upload.php | 1,475 ▲75 | 4.34 ▲0.14 | 99.53 ▼6.78 | 46.22 ▼0.31 |
Solid Central /wp-admin/options-general.php?page=solid-central | 833 | 2.01 | 23.40 | 26.90 |
SolidWP Licensing /wp-admin/options-general.php?page=ithemes-licensing | 1,000 | 1.81 | 26.99 | 34.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/ithemes-sync/load.php+64
require_once(wp-content/plugins/ithemes-sync/notice-handler.php): failed to open stream: No such file or directory
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 82× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(/load-translations.php): failed to open stream: No such file or directory in wp-content/plugins/ithemes-sync/notice-handler.php on line 14
- > PHP Notice
Undefined index: ithemes_sync_path in wp-content/plugins/ithemes-sync/admin.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Ithemes_Sync_Verb' not found in wp-content/plugins/ithemes-sync/verbs/update-google-site-verification-token.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ithemes-sync/load.php:15
- > PHP Fatal error
require_once(): Failed opening required '/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/ithemes-sync/lib/updater/settings-page.php on line 32
- > PHP Fatal error
Uncaught Error: Class 'Ithemes_Sync_Verb' not found in wp-content/plugins/ithemes-sync/verbs/update-show-sync.php:14
- > PHP Fatal error
require_once(): Failed opening required '/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/ithemes-sync/settings-page.php on line 34
- > PHP Warning
require_once(/load-translations.php): failed to open stream: No such file or directory in wp-content/plugins/ithemes-sync/request-handler.php on line 37
- > PHP Fatal error
Uncaught Error: Class 'Ithemes_Sync_Verb' not found in wp-content/plugins/ithemes-sync/verbs/get-status.php:25
- > PHP Fatal error
Uncaught Error: Class 'Ithemes_Sync_Verb' not found in wp-content/plugins/ithemes-sync/verbs/deauthenticate-user.php:14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: manage updates, report dashboard, manage multiple websites, backup, security
ithemes-sync/init.php 85% from 13 tests
"Solid Central – Site Management, Backups, Security, and Reporting" version 3.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ithemes-sync.php" instead of "init.php")
- Domain Path: The domain path points to an invalid folder, "/lang/" does not exist
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
It is important to fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/ithemes-sync/ca/roots.crt
- ☣ wp-content/plugins/ithemes-sync/lib/updater/ca/roots.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 79 | 2,744 | 1,856 | 8,296 |
CSS | 5 | 113 | 9 | 1,005 |
SVG | 2 | 0 | 0 | 126 |
JavaScript | 4 | 17 | 1 | 73 |
Markdown | 1 | 18 | 0 | 33 |
YAML | 1 | 0 | 33 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 170.00 |
Average method complexity | 4.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 73 | 100.00% |
▷ Final classes | 2 | 2.74% |
Methods | 462 | |
▷ Static methods | 111 | 24.03% |
▷ Public methods | 308 | 66.67% |
▷ Protected methods | 2 | 0.43% |
▷ Private methods | 152 | 32.90% |
Functions | 31 | |
▷ Named functions | 29 | 93.55% |
▷ Anonymous functions | 2 | 6.45% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/updater/images/icon-licensed.png | 0.74KB | 0.93KB | 0.00% |
lib/updater/images/icon-unrecognized.png | 0.63KB | 0.40KB | ▼ 36.65% |
images/sync-icon.png | 1.13KB | 0.71KB | ▼ 37.46% |
lib/updater/images/ithemes-logo-header.png | 3.83KB | 2.37KB | ▼ 38.28% |
lib/updater/images/icon-settings.png | 0.45KB | 0.58KB | 0.00% |