Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼43.72ms] Passed 4 tests
An overview of server-side resources used by D3 CPTs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 13.21 ▼27.16 |
Dashboard /wp-admin | 2.78 ▼0.52 | 16.66 ▼35.98 |
Posts /wp-admin/edit.php | 2.78 ▼0.57 | 15.18 ▼34.69 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.10 | 15.51 ▼77.04 |
Media Library /wp-admin/upload.php | 2.78 ▼0.44 | 14.04 ▼22.17 |
D3 Support /wp-admin/edit.php?post_type=d3_cpt_support | 2.79 | 16.75 |
D3 Suite /wp-admin/admin.php?page=d3-suite | 2.78 | 22.19 |
D3 Footer Copyright /wp-admin/edit.php?post_type=d3_cpt_footer_copy | 2.79 | 14.87 |
D3 About /wp-admin/edit.php?post_type=d3_cpt_about | 2.79 | 16.10 |
D3 CPTs /wp-admin/admin.php?page=d3-cpts-admin | 2.78 | 13.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for D3 CPTs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲101 | 14.72 ▲0.35 | 1.65 ▼0.18 | 41.45 ▼1.54 |
Dashboard /wp-admin | 2,256 ▲82 | 5.67 ▲0.00 | 88.69 ▼14.86 | 39.85 ▼4.94 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 1.97 ▼0.04 | 40.36 ▲1.19 | 37.08 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,580 ▲52 | 23.10 ▼0.16 | 600.94 ▼73.22 | 58.78 ▲0.99 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 4.23 ▼0.01 | 101.55 ▼4.60 | 46.40 ▲2.39 |
D3 Support /wp-admin/edit.php?post_type=d3_cpt_support | 1,116 | 1.97 | 31.44 | 30.15 |
D3 Suite /wp-admin/admin.php?page=d3-suite | 844 | 2.15 | 29.05 | 31.37 |
D3 Footer Copyright /wp-admin/edit.php?post_type=d3_cpt_footer_copy | 1,134 | 1.93 | 33.61 | 29.39 |
D3 About /wp-admin/edit.php?post_type=d3_cpt_about | 1,137 | 1.95 | 31.75 | 32.47 |
D3 CPTs /wp-admin/admin.php?page=d3-cpts-admin | 833 | 2.00 | 24.71 | 27.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-post-type.php+700
Invalid argument supplied for foreach()
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=d3-cpts-admin
- > Warning in wp-includes/class-wp-post-type.php+700
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/d3-cpts/d3-cpts.php
- > /wp-content/plugins/d3-cpts/templates/d3-submenu-page-content.php
- > /wp-content/plugins/d3-cpts/templates/d3-suite-page-content.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: d3-cpt-about, d3
d3-cpts/d3-cpts.php Passed 13 tests
The primary PHP file in "D3 CPTs" version 0.1 is used by WordPress to initiate all plugin functionality
52 characters long description:
Create Custom Post Type About, Support and Copyright
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin271 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 27 | 194 |
PO File | 1 | 32 | 34 | 77 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin