Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.02ms] Passed 4 tests
Server-side resources used by Category Tag Pages
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.31 ▼2.19 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.67 ▲0.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.54 ▼5.90 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.49 ▼17.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.93 ▼2.63 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.23 | 36.96 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.23 | 31.12 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
category_children |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Category Tag Pages
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.38 ▼0.92 | 2.03 ▲0.26 | 45.04 ▲1.09 |
Dashboard /wp-admin | 2,214 ▲26 | 4.85 ▼1.08 | 111.81 ▲10.45 | 43.41 ▼0.13 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.98 ▲0.02 | 35.45 ▼5.20 | 33.21 ▼4.55 |
Add New Post /wp-admin/post-new.php | 1,520 ▼0 | 17.53 ▼5.44 | 664.15 ▲19.16 | 60.73 ▲8.08 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.22 ▲0.02 | 97.30 ▼14.78 | 41.27 ▼6.05 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,454 | 2.14 | 29.41 | 33.34 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,312 | 2.13 | 26.60 | 27.62 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/category-tag-pages/category-tag-pages.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (A screenshot of the WordPress backend Pages section with the Categories metabox and the Tags metabox marked red.) image not found
- Tags: There are too many tags (13 tag instead of maximum 10)
category-tag-pages/category-tag-pages.php Passed 13 tests
This is the main PHP file of "Category Tag Pages" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
Adds categories and tags functionality for your pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin16 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 41 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 2 | |
▷ Named functions | 2 | 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
1 PNG file occupies 0.14MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 148.16KB | 50.51KB | ▼ 65.91% |