Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼139.74ms] Passed 4 tests
A check of server-side resources used by Custom Post Type and Taxonomy GUI Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 36.44 ▲2.42 |
Dashboard /wp-admin | 3.07 ▲0.02 | 52.45 ▲6.67 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 48.65 ▲10.02 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 89.79 ▼570.20 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.53 ▲2.14 |
Create Custom Taxonomy /wp-admin/admin.php?page=cptctm-create-ct | 2.98 | 28.49 |
Create Custom Post Type /wp-admin/admin.php?page=cptctm-create-cpt | 2.98 | 28.64 |
CPT CT Manager /wp-admin/admin.php?page=cptctm | 2.98 | 28.49 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Post Type and Taxonomy GUI Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲130 | 15.88 ▲0.30 | 8.17 ▼1.67 | 45.96 ▼5.81 |
Dashboard /wp-admin | 3,009 ▲78 | 6.16 ▲0.20 | 140.12 ▼5.56 | 140.00 ▲28.37 |
Posts /wp-admin/edit.php | 2,800 ▲61 | 2.72 ▲0.02 | 68.99 ▼8.30 | 88.46 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,713 ▲213 | 15.25 ▼3.45 | 415.76 ▲22.24 | 111.15 ▲4.22 |
Media Library /wp-admin/upload.php | 1,796 ▼11 | 5.02 ▼0.01 | 134.55 ▼8.76 | 142.71 ▲20.38 |
Create Custom Taxonomy /wp-admin/admin.php?page=cptctm-create-ct | 1,161 | 2.10 | 54.61 | 80.58 |
Create Custom Post Type /wp-admin/admin.php?page=cptctm-create-cpt | 1,143 | 2.12 | 56.19 | 83.15 |
CPT CT Manager /wp-admin/admin.php?page=cptctm | 1,113 | 2.10 | 55.73 | 73.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
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 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-post-type-cpt-cusom-taxonomy-ct-manager/rt-manager.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-post-type-cpt-cusom-taxonomy-ct-manager/rtm-core-functions/rtm-hooks.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: taxonomy, cpt ct manager, cpt-ct-manager, custom post type, tags...
custom-post-type-cpt-cusom-taxonomy-ct-manager/rt-manager.php 85% from 13 tests
"Custom Post Type and Taxonomy GUI Manager" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("custom-post-type-cpt-cusom-taxonomy-ct-manager.php" instead of "rt-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected329 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 109 | 288 |
JavaScript | 1 | 12 | 6 | 30 |
CSS | 1 | 4 | 3 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 15 | |
▷ Named functions | 15 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help_and_support.png | 1.03KB | 1.14KB | 0.00% |