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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.29ms] Passed 4 tests
Server-side resources used by Ultimate Category Excluder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.92 ▼0.75 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.45 ▲1.71 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.02 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.94 ▼7.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.59 ▲3.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
ksuceExcludes |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Ultimate Category Excluder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.32 ▼1.05 | 1.71 ▼0.31 | 41.37 ▼9.11 |
Dashboard /wp-admin | 2,207 ▲16 | 5.79 ▼0.11 | 95.39 ▼3.26 | 39.27 ▼1.47 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.01 ▼0.01 | 38.79 ▼5.41 | 34.27 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,531 ▼16 | 23.32 ▲5.26 | 655.68 ▲40.71 | 48.25 ▼5.23 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.05 | 100.70 ▼2.07 | 41.39 ▼2.80 |
Category Excluder /wp-admin/ultimate-category-excluder.php | 26 | 0.44 | 0.08 | 13.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- ksuceExcludes
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-category-excluder/ultimate-category-excluder.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/ultimate-category-excluder.php
- > Network (severe)
wp-admin/ultimate-category-excluder.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: Screenshot #2 (Click on Update to save your selections.) image missing
ultimate-category-excluder/ultimate-category-excluder.php Passed 13 tests
Analyzing the main PHP file in "Ultimate Category Excluder" version 1.7
84 characters long description:
Easily exclude categories from your front page, feeds, archives, and search results.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin329 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 37 | 182 |
PO File | 4 | 39 | 48 | 147 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG images were not found in this plugin