Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.50ms] Passed 4 tests
This is a short check of server-side resources used by Fix Category Count
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.01 | 45.02 ▲1.91 |
Dashboard /wp-admin | 3.58 ▲0.02 | 51.62 ▲0.45 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 51.68 ▼0.20 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.02 | 94.57 ▼10.27 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 37.62 ▼3.96 |
Fix Category Count /wp-admin/tools.php?page=fix_category_count | 3.47 | 38.83 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
Fix Category Count: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.75 ▲0.37 | 1.80 ▼0.04 | 45.22 ▲2.84 |
Dashboard /wp-admin | 2,200 ▲20 | 5.67 ▲0.06 | 96.20 ▲2.64 | 44.24 ▲0.42 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.01 ▼0.04 | 41.60 ▲4.79 | 36.41 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,550 ▲18 | 23.29 ▲0.01 | 623.92 ▼41.16 | 52.84 ▼8.88 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.21 ▲0.01 | 99.74 ▼1.78 | 40.40 ▼1.30 |
Fix Category Count /wp-admin/tools.php?page=fix_category_count | 686 | 1.53 | 6.66 | 15.98 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- recovery_mode_email_last_sent
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=fix_category_count
- > Parse error in wp-content/plugins/fix-category-count/inc/fix_category_count_admin_view.php+68
syntax error, unexpected end of file
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fix-category-count/inc/fix_category_count_admin_view.php on line 68
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fix-category-count/fix_category_count.php:39
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: category, fix, repair, count
fix-category-count/fix_category_count.php 92% from 13 tests
The main PHP script in "Fix Category Count" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fix-category-count.php" instead of "fix_category_count.php")
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
There were no executable files found in this plugin132 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 22 | 132 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 40.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 60.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
No PNG images were found in this plugin