Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲2.33ms] Passed 4 tests
An overview of server-side resources used by WPFactory Helper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 45.92 ▲3.95 |
Dashboard /wp-admin | 3.51 ▲0.16 | 56.43 ▼6.14 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 55.52 ▲7.18 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 100.04 ▲4.31 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 45.75 ▲12.77 |
WPFactory /wp-admin/options-general.php?page=wpcodefactory-helper | 3.42 | 42.47 |
Server storage [IO: ▲0.41MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 122 new files
Database: no new tables, 15 new options
New WordPress options |
---|
alg_check_sites_keys_cron_time_schedule |
alg_wpcodefactory_helper_themes |
alg_check_sites_keys_cron_time_last_run |
alg_get_plugins_list_cron_time_last_run |
alg_get_plugins_list_cron_time_schedule |
db_upgraded |
widget_recent-comments |
alg_wpcodefactory_helper_version |
theysaidso_admin_options |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WPFactory Helper
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.27 ▼0.00 | 1.80 ▼0.05 | 45.98 ▲2.80 |
Dashboard /wp-admin | 2,199 ▲28 | 5.60 ▲0.03 | 85.06 ▼7.18 | 40.28 ▼2.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▲0.04 | 35.85 ▼8.41 | 32.30 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.39 ▲0.15 | 666.36 ▲9.81 | 62.86 ▲11.08 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▲0.03 | 98.66 ▼0.92 | 44.64 ▲1.24 |
WPFactory /wp-admin/options-general.php?page=wpcodefactory-helper | 773 | 1.99 | 26.80 | 40.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 15 options in the database
- alg_check_sites_keys_cron_time_schedule
- db_upgraded
- alg_wpcodefactory_helper_plugins
- can_compress_scripts
- alg_wpcodefactory_helper_themes
- widget_recent-posts
- alg_check_sites_keys_cron_time_last_run
- theysaidso_admin_options
- alg_get_plugins_list_cron_time_schedule
- alg_get_themes_list_cron_time_schedule
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Update' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Plugin/Update.php:11
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Update' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Theme/Update.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_InstalledPackage' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Plugin/Package.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Factory' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4/Factory.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_DebugBar_Extension' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/DebugBar/PluginExtension.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Metadata' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Update.php:10
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_InstalledPackage' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Theme/Package.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_DebugBar_Panel' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/DebugBar/ThemePanel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Vcs_Api' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Vcs/BitBucketApi.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_UpdateChecker' not found in wp-content/plugins/wpcodefactory-helper/includes/lib/plugin-update-checker/Puc/v4p13/Theme/UpdateChecker.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
2 plugin tags: wpcodefactory, wpfactory
wpcodefactory-helper/wpcodefactory-helper.php Passed 13 tests
The main PHP script in "WPFactory Helper" version 1.5.4 is automatically included on every request by WordPress
75 characters long description:
Plugin helps you manage subscriptions for your products from WPFactory.com.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,674 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 1,690 | 2,737 | 6,400 |
PO File | 24 | 143 | 146 | 833 |
Markdown | 1 | 72 | 0 | 254 |
JSON | 3 | 8 | 0 | 72 |
JavaScript | 2 | 12 | 25 | 60 |
CSS | 1 | 14 | 1 | 55 |
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.41 |
Average class complexity | 24.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 5 | 12.82% |
▷ Concrete classes | 34 | 87.18% |
▷ Final classes | 1 | 2.94% |
Methods | 448 | |
▷ Static methods | 28 | 6.25% |
▷ Public methods | 271 | 60.49% |
▷ Protected methods | 163 | 36.38% |
▷ Private methods | 14 | 3.12% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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
No PNG images were found in this plugin