Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.83ms] Passed 4 tests
Analyzing server-side resources used by Page Tags And Category
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.40 ▲1.48 |
Dashboard /wp-admin | 4.07 ▲0.76 | 57.00 ▲3.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.40 ▼2.39 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.55 ▼7.04 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.24 ▲0.62 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.25 | 37.77 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.25 | 45.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.14MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 9 new options
New WordPress options |
---|
daq_category_enable |
daq_tags_enable |
category_children |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Page Tags And Category
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲102 | 14.27 ▼0.11 | 1.88 ▼0.35 | 39.74 ▼5.88 |
Dashboard /wp-admin | 2,282 ▲108 | 5.55 ▼0.02 | 92.10 ▼13.39 | 76.61 ▲32.24 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.97 ▲0.00 | 41.26 ▲1.24 | 39.20 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.30 ▲0.12 | 670.13 ▲7.36 | 53.94 ▼2.44 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.21 ▲0.01 | 103.84 ▼1.64 | 45.71 ▼1.25 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,343 | 2.24 | 28.47 | 31.57 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,476 | 2.12 | 27.96 | 36.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.14MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- category_children
- widget_recent-posts
- can_compress_scripts
- daq_tags_enable
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- daq_category_enable
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 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/page-tags-and-category/page-tags-and-category.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #3 (The screenshot description corresponds to screenshot-3.(png|jpg|jpeg|gif).) image missing
page-tags-and-category/page-tags-and-category.php 92% from 13 tests
The main file in "Page Tags And Category" v. 1.01 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin180 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 42 | 149 |
CSS | 1 | 0 | 1 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 5.21KB | 1.48KB | ▼ 71.70% |
images/feed-logo.png | 5.06KB | 2.17KB | ▼ 57.04% |