Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'plugin_activation' not found or invalid function name
Server metrics [RAM: ▼0.53MB] [CPU: ▼24.72ms] Passed 4 tests
This is a short check of server-side resources used by Steemeasy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.49 ▼38.12 |
Dashboard /wp-admin | 3.10 ▼0.21 | 30.11 ▼21.95 |
Posts /wp-admin/edit.php | 3.24 ▼0.12 | 33.07 ▼16.28 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.41 | 73.63 ▼22.54 |
Media Library /wp-admin/upload.php | 3.18 ▼0.05 | 30.31 ▼8.08 |
Server storage [IO: ▲0.77MB] [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: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
sc2_appname |
beneficiary_account |
widget_recent-comments |
theysaidso_admin_options |
beneficiary_percentage |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Steemeasy: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲112 | 18.93 ▲4.37 | 15.33 ▲13.14 | 41.09 ▼2.46 |
Dashboard /wp-admin | 2,222 ▲31 | 5.83 ▼0.07 | 93.63 ▼11.43 | 39.26 ▼8.41 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▲0.02 | 39.97 ▲2.22 | 36.08 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,551 ▲16 | 22.91 ▼0.32 | 653.70 ▲34.61 | 52.23 ▼5.57 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.23 ▼0.00 | 97.26 ▼3.24 | 43.07 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'plugin_uninstall' not found or invalid function name
- This plugin does not fully uninstall, leaving 9 options in the database
- beneficiary_percentage
- sc2_appname
- can_compress_scripts
- db_upgraded
- beneficiary_account
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% 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 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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/steemeasy/steem.php
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 Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: steem, steemeasy
steemeasy/steem.php 85% from 13 tests
The primary PHP file in "Steemeasy" version 0.5.7 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("steemeasy.php" instead of "steem.php")
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 plugin1,949 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 178 | 99 | 1,561 |
CSS | 1 | 10 | 0 | 185 |
PHP | 1 | 23 | 27 | 168 |
Markdown | 1 | 18 | 0 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin