Benchmarks
Plugin footprint Passed 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.06MB] [CPU: ▼291.01ms] Passed 4 tests
An overview of server-side resources used by 011 Ps Custom Taxonomy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.15 | 56.02 ▲6.31 |
Dashboard /wp-admin | 3.49 ▲0.08 | 32.35 ▼2.30 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 41.09 ▲3.12 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 92.68 ▼1,164.71 |
Media Library /wp-admin/upload.php | 3.38 ▲0.08 | 24.48 ▼0.14 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for 011 Ps Custom Taxonomy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,816 ▲62 | 15.78 ▼0.20 | 6.56 ▲0.70 | 2.10 ▼0.55 |
Dashboard /wp-admin | 2,916 ▲55 | 6.09 ▼0.06 | 119.48 ▼19.52 | 190.44 ▲27.32 |
Posts /wp-admin/edit.php | 2,710 ▲22 | 3.24 ▲0.01 | 64.44 ▼1.42 | 178.60 ▲36.54 |
Add New Post /wp-admin/post-new.php | 1,730 ▲75 | 21.08 ▲0.27 | 446.28 ▲5.02 | 160.87 ▲0.17 |
Media Library /wp-admin/upload.php | 1,716 ▲18 | 5.55 ▲0.06 | 137.72 ▼8.43 | 240.69 ▲52.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/011-ps-custom-taxonomy/config/_config.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/011-ps-custom-taxonomy/ps-custom-taxonomy.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
Attributes that require attention:
- Screenshots: Screenshot #1 (add category.) image not found
011-ps-custom-taxonomy/ps-custom-taxonomy.php 92% from 13 tests
The principal PHP file in "011 Ps Custom Taxonomy" v. 1.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("011-ps-custom-taxonomy.php" instead of "ps-custom-taxonomy.php")
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 plugin416 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 98 | 226 | 411 |
CSS | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin