Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.85ms] Passed 4 tests
Analyzing server-side resources used by Post Type & Taxonomy Debug
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.04 ▲1.92 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.47 ▼1.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.14 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.75 ▼10.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.38 ▲3.31 |
Post Type & Taxonomy Debug /wp-admin/tools.php?page=pttax_debug | 3.24 | 32.39 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Type & Taxonomy Debug
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.13 ▲0.19 | 2.62 ▲0.79 | 63.41 ▲15.05 |
Dashboard /wp-admin | 2,211 ▲23 | 5.83 ▼0.03 | 129.39 ▲13.10 | 49.98 ▲0.86 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.14 ▲0.09 | 42.26 ▼2.55 | 38.87 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 23.23 ▼0.16 | 721.68 ▼7.45 | 69.24 ▲8.44 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.19 ▲0.00 | 138.34 ▲6.57 | 53.47 ▼6.87 |
Post Type & Taxonomy Debug /wp-admin/tools.php?page=pttax_debug | 11,044 | 2.06 | 29.39 | 64.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% 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 | 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 return non-empty strings:
- > /wp-content/plugins/post-type-taxonomy-debug/customposttypedebug.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: posttype, debugging, taxonomy
post-type-taxonomy-debug/customposttypedebug.php 92% from 13 tests
"Post Type & Taxonomy Debug" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("post-type-taxonomy-debug.php" instead of "customposttypedebug.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin345 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 100 | 297 |
CSS | 1 | 11 | 8 | 40 |
JavaScript | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 46.67% |
▷ Protected methods | 8 | 53.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin