Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by edump
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.46 ▲1.48 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.28 ▲0.14 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.04 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.18 ▼10.01 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.65 ▲0.26 |
edump /wp-admin/options-general.php?page=edump/edump.php | 3.22 | 33.12 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
edump: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲43 | 14.28 ▲0.04 | 1.69 ▲0.05 | 44.28 ▼0.77 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▼0.05 | 89.65 ▼9.85 | 36.90 ▼11.27 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.02 | 35.24 ▼2.92 | 31.83 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.67 ▲5.50 | 621.14 ▼11.99 | 60.59 ▼20.80 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.18 ▲0.01 | 97.61 ▼20.78 | 42.03 ▼8.07 |
edump /wp-admin/options-general.php?page=edump/edump.php | 885 | 1.99 | 26.57 | 44.42 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edump/edump.php:26
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Setting your "Message ID" of edump in the Settings), #2 (Showing the information of PHP on your WordPress environment.)
edump/edump.php 85% from 13 tests
The entry point to "edump" version 1.0.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin227 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 44 | 167 |
PO File | 1 | 13 | 13 | 60 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
res/php.png | 3.62KB | 1.98KB | ▼ 45.41% |
res/logo.png | 11.65KB | 4.12KB | ▼ 64.67% |
res/javascript.png | 2.99KB | 1.85KB | ▼ 38.14% |