Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.28ms] Passed 4 tests
An overview of server-side resources used by Niko Taxonomy Filters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.60 ▼2.87 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.61 ▼14.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.58 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.68 ▼21.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.76 ▲0.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Niko Taxonomy Filters
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.28 ▼0.01 | 1.64 ▼0.13 | 44.14 ▲6.23 |
Dashboard /wp-admin | 2,192 ▲15 | 5.50 ▼0.18 | 82.68 ▼7.34 | 37.29 ▼6.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.01 | 35.20 ▼2.09 | 34.71 ▲1.66 |
Add New Post /wp-admin/post-new.php | 1,535 ▼1 | 18.13 ▼0.11 | 602.12 ▼57.72 | 66.08 ▲4.43 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▼0.02 | 96.12 ▼1.00 | 42.24 ▼3.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 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/niko-taxonomy-filters/niko-taxonomy-filters.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== niko-taxonomy-filters ===
) - Donate link: Invalid url: "-"
niko-taxonomy-filters/niko-taxonomy-filters.php Passed 13 tests
The principal PHP file in "Niko Taxonomy Filters" v. 0.1 is loaded by WordPress automatically on each request
46 characters long description:
Add taxonomy filters to post listings in admin
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
Success! There were no dangerous files found in this plugin29 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 17 | 26 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin