Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/dash-rewriter/admin/class-dash-rewriter-admin.php+59
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.79MB] [CPU: ▼52.72ms] Passed 4 tests
Server-side resources used by Dash Rewriter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.27 | 6.14 ▼38.38 |
Dashboard /wp-admin | 2.21 ▼1.09 | 8.15 ▼42.03 |
Posts /wp-admin/edit.php | 2.21 ▼1.14 | 8.31 ▼42.70 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.67 | 8.09 ▼87.76 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 6.33 ▼30.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dash Rewriter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.60 ▼0.70 | 5.05 ▲2.69 | 45.97 ▲2.17 |
Dashboard /wp-admin | 2,219 ▲31 | 5.86 ▼0.03 | 116.19 ▲0.23 | 43.08 ▼1.00 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▲0.06 | 35.17 ▼3.79 | 31.82 ▼2.08 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,714 | 26.05 ▲2.80 | 916.13 ▲213.50 | 65.92 ▲9.55 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.22 ▼0.00 | 99.15 ▼5.08 | 47.41 ▲3.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/dash-rewriter/admin/class-dash-rewriter-admin.php+59
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dash-rewriter/public/partials/dash-rewriter-public-display.php
- > /wp-content/plugins/dash-rewriter/admin/partials/dash-rewriter-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dash-rewriter/admin/class-dash-rewriter-admin.php:406
- > 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)
No browser issues were found
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
Attributes that require attention:
- Screenshots: Please describe screenshot #1 in dash-rewriter/assets to your readme.txt
dash-rewriter/dash-rewriter.php Passed 13 tests
This is the main PHP file of "Dash Rewriter" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
140 characters long description:
Easily spin articles before publishing your post content. Easily integrate with popular plugins like WP Content Pilot and WPematico plugins.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected593 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 221 | 543 | 587 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 30 | 69.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 30.23% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin