Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.71ms] Passed 4 tests
An overview of server-side resources used by WP Custom Category Meta
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.20 ▼16.66 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.37 ▼5.12 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.49 ▲3.60 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.02 ▲8.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.28 ▼0.66 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Custom Category Meta
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.81 ▲0.43 | 1.52 ▼0.55 | 37.64 ▼8.49 |
Dashboard /wp-admin | 2,203 ▲18 | 4.81 ▼1.05 | 106.49 ▼3.42 | 38.97 ▼7.12 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▲0.02 | 40.33 ▲7.75 | 34.42 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.40 ▲0.39 | 659.65 ▼45.38 | 65.41 ▲5.13 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.03 | 93.95 ▼13.01 | 43.83 ▼3.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: title, category title, description, keywords, category
wp-custom-category-meta/wp-custom-category-meta.php 92% from 13 tests
The primary PHP file in "WP Custom Category Meta" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin220 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 78 | 167 | 187 |
PO File | 1 | 7 | 7 | 33 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
2 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 23.47KB | 9.08KB | ▼ 61.32% |
assets/banner-772x250.png | 63.87KB | 24.78KB | ▼ 61.20% |