Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.22ms] Passed 4 tests
An overview of server-side resources used by MoneyPls
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.29 ▲0.83 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.72 ▼12.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.74 ▲3.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.67 ▼11.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.88 ▲2.56 |
MoneyPls Config /wp-admin/options-general.php?page=insert-script-in-header-and-footer-option | 3.23 | 32.03 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MoneyPls
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.76 ▲0.50 | 5.87 ▲4.10 | 46.08 ▲1.63 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.01 | 97.49 ▼16.70 | 38.86 ▼3.62 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.03 ▲0.01 | 38.76 ▲1.78 | 35.42 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,536 ▲23 | 23.36 ▲5.86 | 701.42 ▲28.30 | 60.29 ▲7.27 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.20 ▲0.01 | 112.64 ▲10.81 | 45.64 ▲2.86 |
MoneyPls Config /wp-admin/options-general.php?page=insert-script-in-header-and-footer-option | 788 | 2.03 | 26.56 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=insert-script-in-header-and-footer-option
- > Notice in wp-content/plugins/moneypls/options.php+55
Undefined variable: footer_script
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 18 tag instead of maximum 10
- Screenshots: Add a description for screenshot #4 in moneypls/assets to your readme.txt
moneypls/moneypls-wp.php 92% from 13 tests
"MoneyPls" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("moneypls.php" instead of "moneypls-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin141 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 50 | 8 | 97 |
CSS | 1 | 2 | 0 | 44 |
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.29 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin