Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.03ms] Passed 4 tests
A check of server-side resources used by Add Categories And Tags To Pages
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.87 ▼4.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.23 ▼4.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.10 ▲4.28 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.09 ▼16.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.46 ▲1.08 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.23 | 38.19 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.23 | 33.56 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
category_children |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Add Categories And Tags To Pages
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.78 ▼0.59 | 1.68 ▼0.17 | 40.62 ▼4.77 |
Dashboard /wp-admin | 2,211 ▲23 | 5.83 ▲0.92 | 101.54 ▼0.99 | 38.65 ▼4.66 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.99 ▼0.04 | 35.52 ▲1.43 | 31.94 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.28 ▲0.10 | 653.88 ▼32.08 | 63.55 ▲12.65 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.16 ▼0.04 | 97.44 ▼14.01 | 41.11 ▼7.51 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,451 | 2.14 | 27.69 | 40.29 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,312 | 2.13 | 26.30 | 28.68 |
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: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- category_children
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: page categories, post tags, page tags
add-categories-and-tags-to-pages/atagtp.php 92% from 13 tests
The main file in "Add Categories And Tags To Pages" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("add-categories-and-tags-to-pages.php" instead of "atagtp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin24 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 11 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
There were not PNG files found in your plugin