Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.98ms] Passed 4 tests
Server-side resources used by Categorize Pages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.06 ▼1.50 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.21 ▼2.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.49 ▼3.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.83 ▼8.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.04 ▲0.12 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.22 | 40.04 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
category_children |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Categorize Pages
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.27 | 1.77 ▲0.17 | 44.10 ▼0.52 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▲0.07 | 87.42 ▼4.05 | 41.11 ▼1.57 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 37.13 ▼2.39 | 31.90 ▼8.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.88 ▼0.26 | 668.75 ▼34.32 | 59.92 ▼0.13 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.17 ▲0.07 | 97.33 ▼7.61 | 42.61 ▼0.10 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,456 | 2.12 | 28.08 | 32.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- category_children
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/categorize-pages/categorize-pages.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (A screenshot of the WordPress backend Pages section with the added Categories marked red (arrow).), #2 (A screenshot of the WordPress backend. A Page with the added categories attributes marked red (arrow).)
categorize-pages/categorize-pages.php Passed 13 tests
The entry point to "Categorize Pages" version 1.0.0 is a PHP file that has certain tags in its header comment area
56 characters long description:
Add categories to Pages, just as you would do with Posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected21 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 33 | 17 |
Markdown | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.00 |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 50.94KB | 18.15KB | ▼ 64.38% |
screenshot-1.png | 93.22KB | 32.58KB | ▼ 65.05% |