Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲1,053.45ms] 50% from 4 tests
This is a short check of server-side resources used by WP.org Plugin Stats
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,185.58ms on /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins)
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 1,053.45ms on /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 691.31 ▲652.61 |
Dashboard /wp-admin | 3.60 ▲0.25 | 1,453.87 ▲1,394.15 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 1,229.87 ▲1,187.06 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 1,290.55 ▲1,185.37 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 1,221.25 ▲1,188.75 |
Recommended /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins | 3.40 | 1,185.58 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 13 new options
New WordPress options |
---|
jltwporgst_notice_ask_for_rating |
jltwporgst_activation_time |
jltwporgst_notice_what_we_collect |
widget_recent-posts |
widget_recent-comments |
wp_org_plugin_stats_version |
jltwporgst_sheet_promo_data |
jltwporgst_sheet_promo_data_hash |
theysaidso_admin_options |
db_upgraded |
... |
Browser metrics Passed 4 tests
WP.org Plugin Stats: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 14.45 ▲0.06 | 1.69 ▲0.11 | 37.85 ▲0.33 |
Dashboard /wp-admin | 2,352 ▲160 | 5.90 ▲0.92 | 102.24 ▼12.40 | 36.94 ▼4.04 |
Posts /wp-admin/edit.php | 2,187 ▲98 | 2.17 ▲0.12 | 34.60 ▼2.71 | 31.62 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,620 ▲87 | 21.13 ▼2.07 | 628.17 ▲49.09 | 56.50 ▲5.40 |
Media Library /wp-admin/upload.php | 1,486 ▲98 | 4.19 ▲0.01 | 94.21 ▼1.16 | 40.47 ▼1.97 |
Recommended /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins | 1,267 | 2.01 | 28.78 | 29.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 13 options
- jltwporgst_sheet_promo_data
- jltwporgst_notice_subscribe
- jltwporgst_sheet_promo_data_hash
- wp_org_plugin_stats_version
- jltwporgst_activation_time
- widget_recent-posts
- db_upgraded
- jltwporgst_notice_ask_for_rating
- widget_recent-comments
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Libs\\RowLinks' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Libs\\Recommended' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Recommended_Plugins.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-org-plugin-stats/wp-org-plugin-stats.php:21
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Libs\\Upgrader' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Upgrade_Plugin.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTWPORGST\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-org-plugin-stats/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins
- > Javascript (severe) in unknown
/wp-content/plugins/wp-org-plugin-stats/assets/js/wp-org-plugin-stats-admin.js?ver=1.0.6 74:4 Uncaught ReferenceError: tinymce is not defined
- > GET request to /wp-admin/options-general.php?page=wp-org-plugin-stats-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wordpress plugin directory, plugin data, wordpress plugin data, plugin directory, plugin list
wp-org-plugin-stats/wp-org-plugin-stats.php 85% from 13 tests
The principal PHP file in "WP.org Plugin Stats" v. 1.0.6 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages/")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,872 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 786 | 1,484 | 3,079 |
CSS | 2 | 118 | 13 | 606 |
JavaScript | 1 | 20 | 8 | 187 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 27 | |
▷ Abstract classes | 4 | 14.81% |
▷ Concrete classes | 23 | 85.19% |
▷ Final classes | 1 | 4.35% |
Methods | 198 | |
▷ Static methods | 32 | 16.16% |
▷ Public methods | 195 | 98.48% |
▷ Protected methods | 1 | 0.51% |
▷ Private methods | 2 | 1.01% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 16 | |
▷ Global constants | 15 | 93.75% |
▷ Class constants | 1 | 6.25% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin