Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.91ms] Passed 4 tests
A check of server-side resources used by DCO Post Validator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.12 ▼5.32 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.22 ▲0.64 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 42.85 ▼6.57 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.03 ▼8.37 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.59 ▲7.03 |
DCO Post Validator /wp-admin/options-general.php?page=dco-post-validator | 3.25 | 29.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for DCO Post Validator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.40 ▲0.03 | 1.79 ▲0.11 | 42.85 ▲1.57 |
Dashboard /wp-admin | 2,219 ▲31 | 5.80 ▲0.89 | 96.14 ▼8.99 | 37.97 ▼2.37 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▼0.05 | 34.37 ▼2.11 | 36.19 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,540 ▼4 | 23.37 ▲0.19 | 668.48 ▲35.32 | 55.20 ▲8.21 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.26 ▲0.02 | 94.84 ▼6.27 | 42.44 ▲2.78 |
DCO Post Validator /wp-admin/options-general.php?page=dco-post-validator | 861 | 2.03 | 23.71 | 28.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #3 is required in dco-post-validator/assets to your readme.txt
dco-post-validator/dco-post-validator.php Passed 13 tests
The entry point to "DCO Post Validator" version 1.1.0 is a PHP file that has certain tags in its header comment area
92 characters long description:
Allows you to make post, page, custom post elements required: title, content, featured image
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 plugin279 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 56 | 58 | 171 |
JavaScript | 2 | 14 | 6 | 108 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 61.11% |
▷ Protected methods | 5 | 27.78% |
▷ Private methods | 2 | 11.11% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin