Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.32ms] Passed 4 tests
A check of server-side resources used by WP doodlez
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.87 ▼5.02 |
Dashboard /wp-admin | 3.34 ▲0.03 | 55.93 ▼5.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.03 ▼0.30 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.28 ▲4.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.79 ▼2.72 |
Add WPdoodle /wp-admin/post-new.php?post_type=wpdoodle | 3.42 | 57.75 |
All WPdoodlez /wp-admin/edit.php?post_type=wpdoodle | 3.32 | 39.87 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=wpdoodle | 3.25 | 39.52 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP doodlez
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲34 | 13.21 ▼0.04 | 1.90 ▼0.47 | 41.24 ▼6.84 |
Dashboard /wp-admin | 2,237 ▲31 | 4.83 ▼0.02 | 104.02 ▼16.11 | 39.92 ▼10.67 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.00 | 39.08 ▼1.33 | 36.58 ▲2.36 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.09 ▼0.26 | 719.48 ▲54.63 | 53.46 ▲2.11 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.21 ▼0.11 | 109.31 ▼11.44 | 47.86 ▼6.24 |
Add WPdoodle /wp-admin/post-new.php?post_type=wpdoodle | 2,628 | 7.69 | 198.51 | 71.93 |
All WPdoodlez /wp-admin/edit.php?post_type=wpdoodle | 1,162 | 1.96 | 31.39 | 30.06 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=wpdoodle | 1,474 | 2.14 | 28.78 | 33.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- category_children
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wpd_translate() in wp-content/plugins/wpdoodlez/wpdoodlez_post_type.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/wpdoodlez/wpdoodle-template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpdoodlez/WPdoodlez.php:26
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wpdoodlez ===
)
wpdoodlez/WPdoodlez.php 92% from 13 tests
This is the main PHP file of "WP doodlez" version 1.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpdoodlez.php" instead of "WPdoodlez.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected544 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 19 | 50 | 267 |
PO File | 3 | 57 | 67 | 167 |
JavaScript | 1 | 1 | 4 | 65 |
CSS | 2 | 7 | 3 | 31 |
Markdown | 1 | 3 | 0 | 13 |
Bourne Shell | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 7 | |
▷ Named functions | 7 | 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
PNG images were not found in this plugin