Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.77ms] Passed 4 tests
An overview of server-side resources used by Add Dummy Post
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.22 ▼3.85 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.59 ▼16.17 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.13 ▼1.84 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.30 ▲9.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.61 ▼1.21 |
Add Dummy Post /wp-admin/tools.php?page=adp-post | 3.24 | 30.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Add Dummy Post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.27 ▼1.33 | 4.39 ▲2.50 | 39.04 ▼4.83 |
Dashboard /wp-admin | 2,214 ▲25 | 4.89 ▼0.09 | 106.60 ▼16.33 | 43.23 ▲0.49 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▲0.05 | 35.78 ▼4.69 | 33.84 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 17.63 ▲0.10 | 657.65 ▼56.47 | 62.79 ▲3.23 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.23 ▲0.05 | 94.13 ▼2.70 | 41.70 ▲0.07 |
Add Dummy Post /wp-admin/tools.php?page=adp-post | 791 | 2.07 | 24.38 | 26.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Looking good! No server-side errors or output on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: dummy data, dummy post, add dummy post
add-dummy-post/add-dummy-post.php 92% from 13 tests
The primary PHP file in "Add Dummy Post" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin195 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 46 | 67 | 190 |
CSS | 1 | 0 | 0 | 3 |
JavaScript | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 1 | 100.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
PNG images were not found in this plugin