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.05MB] [CPU: ▼6.06ms] Passed 4 tests
Analyzing server-side resources used by Show Post Categories
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.58 ▲1.58 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.23 ▼5.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.13 ▼0.17 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.81 ▼19.65 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.98 ▲1.30 |
Show Post Categories /wp-admin/options-general.php?page=show-post-categories | 3.26 | 31.48 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
spc_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Show Post Categories
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.17 ▼0.18 | 1.87 ▼0.29 | 45.01 ▼2.13 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▲0.04 | 84.52 ▼5.92 | 39.74 ▼9.57 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.98 ▲0.00 | 42.36 ▲3.65 | 39.07 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.09 ▲0.03 | 647.25 ▼9.27 | 59.56 ▼3.24 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.26 ▲0.06 | 101.09 ▼1.34 | 43.43 ▼5.75 |
Show Post Categories /wp-admin/options-general.php?page=show-post-categories | 897 | 1.99 | 23.04 | 31.17 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 fix the following items
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/show-post-categories/show-post-categories.php
- > /wp-content/plugins/show-post-categories/includes/excerpt.php
- > /wp-content/plugins/show-post-categories/includes/author.php
- > /wp-content/plugins/show-post-categories/includes/admin.php
- > /wp-content/plugins/show-post-categories/includes/category.php
- > /wp-content/plugins/show-post-categories/includes/core.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
show-post-categories/show-post-categories.php 92% from 13 tests
The entry point to "Show Post Categories" version 2.2.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected462 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 178 | 208 | 448 |
PO File | 1 | 0 | 0 | 14 |
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.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin