Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/monage/monage.php+75
Undefined variable: monage_zeny
Server metrics [RAM: ▼1.90MB] [CPU: ▼51.91ms] Passed 4 tests
Analyzing server-side resources used by Monage
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 11.67 ▼32.84 |
Dashboard /wp-admin | 2.11 ▼1.20 | 6.66 ▼42.27 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.62 ▼42.79 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 7.44 ▼89.72 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.19 ▼29.86 |
monage /wp-admin/options-general.php?page=monage-options-submenu | 2.11 | 6.82 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
monage_twitter_account |
db_upgraded |
monage_picture_width |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
monage_default_mona |
Browser metrics Passed 4 tests
Checking browser requirements for Monage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼1.09 | 1.79 ▼0.27 | 37.23 ▼8.15 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.02 | 111.15 ▲5.01 | 44.69 ▲2.04 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.98 ▼0.04 | 39.47 ▼0.95 | 34.89 ▼5.85 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.18 ▲0.00 | 579.46 ▼112.49 | 59.11 ▲3.89 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.17 ▼0.02 | 95.94 ▼1.11 | 41.59 ▼1.14 |
monage /wp-admin/options-general.php?page=monage-options-submenu | 890 | 2.06 | 25.05 | 63.91 |
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
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/monage/monage.php+75
Undefined variable: monage_zeny
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- monage_picture_width
- theysaidso_admin_options
- monage_twitter_account
- can_compress_scripts
- widget_recent-comments
- monage_default_mona
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=monage-options-submenu
- > Notice in wp-content/plugins/monage/monage.php+75
Undefined variable: monage_zeny
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/monage/monage.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: monacoin, mona, crypto currency, virtual currency
monage/monage.php Passed 13 tests
Analyzing the main PHP file in "Monage" version 1.46
66 characters long description:
Let's make monage (giving monacoin) to wordpress blog more easier!
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
There were no executable files found in this plugin167 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 46 | 165 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
monage.png | 111.90KB | 52.52KB | ▼ 53.07% |