Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.05ms] Passed 4 tests
Analyzing server-side resources used by Category Popular Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 26.92 ▼17.81 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.03 ▼3.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 55.26 ▲7.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.23 ▼8.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.96 ▲1.20 |
Category Tags /wp-admin/options-general.php?page=pct-setting-admin | 3.18 | 27.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Category Popular Tags: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.27 ▼1.31 | 4.98 ▲3.21 | 47.48 ▼1.35 |
Dashboard /wp-admin | 2,204 ▲13 | 5.83 ▼0.07 | 98.59 ▼16.95 | 39.30 ▼5.23 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.02 | 34.84 ▼1.47 | 30.68 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.50 ▲0.25 | 669.10 ▼18.98 | 64.65 ▲10.52 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.33 ▲0.00 | 103.06 ▼9.73 | 43.29 ▼3.37 |
Category Tags /wp-admin/options-general.php?page=pct-setting-admin | 800 | 2.03 | 24.03 | 26.63 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pct-setting-admin
- > Notice in wp-content/plugins/category-popular-tags/class/settings.class.php+186
Trying to access array offset on value of type bool
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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 uses markdown syntax to describe your plugin to the world
3 plugin tags: popular, category, tags
category-popular-tags/category-popular-tag.php 85% from 13 tests
The principal PHP file in "Category Popular Tags" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 233 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("category-popular-tags.php" instead of "category-popular-tag.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin498 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 82 | 79 | 368 |
CSS | 1 | 14 | 0 | 130 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin