Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/loymaxapp/includes/loymax-updater.php+133
Undefined index: component
Server metrics [RAM: ▲0.09MB] [CPU: ▼18.09ms] Passed 4 tests
Server-side resources used by LoymaxWebApp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 29.25 ▼12.70 |
Dashboard /wp-admin | 3.45 ▲0.15 | 38.20 ▼16.37 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 39.48 ▼12.90 |
Add New Post /wp-admin/post-new.php | 5.70 ▼0.19 | 73.95 ▼30.39 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 34.22 ▼2.78 |
/wp-admin/index.php?page=loymax-setup | 3.04 | 17.98 |
Server storage [IO: ▲1.71MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 53 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_loymax_components |
wp_loymax |
New WordPress options |
---|
widget_recent-posts |
loymax_install_wizard_in_progress |
widget_theysaidso_widget |
widget_recent-comments |
widget_loymax-widget |
theysaidso_admin_options |
can_compress_scripts |
jal_db_version |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by LoymaxWebApp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,370 ▲609 | 17.77 ▲3.17 | 70.64 ▲68.76 | 39.94 ▼5.24 |
Dashboard /wp-admin | 2,242 ▲39 | 4.87 ▼0.01 | 117.75 ▲0.16 | 44.44 ▼2.37 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.05 ▼0.01 | 36.20 ▼10.47 | 33.54 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 23.30 ▲0.03 | 666.44 ▼9.34 | 56.50 ▲4.50 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.17 ▼0.11 | 102.85 ▼14.55 | 45.74 ▼3.95 |
/wp-admin/index.php?page=loymax-setup | 316 | 2.06 | 28.60 | 41.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_loymax-widget
- widget_recent-comments
Smoke tests 50% 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/index.php?page=loymax-setup
- > Notice in wp-content/plugins/loymaxapp/loymax-app.php+180
Undefined index: step
- 3 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=loymax-setup
- > Notice in wp-admin/includes/class-wp-site-health.php+94
Trying to get property 'id' of non-object
SRP 50% 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
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/loymaxapp/loymax-app.php on line 38
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/loymaxapp/loymax-app.php on line 34
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/loymaxapp/widget/loymax-app-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/loymaxapp/loymax-app.php:58
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in loymaxapp/assets to your readme.txt
loymaxapp/loymax-app.php 85% from 13 tests
This is the main PHP file of "LoymaxWebApp" version 3.4.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- 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: The principal plugin file should be the same as the plugin slug ("loymaxapp.php" instead of "loymax-app.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected12,887 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,266 | 1,329 | 7,369 |
PHP | 18 | 246 | 395 | 2,828 |
YAML | 2 | 0 | 0 | 1,086 |
CSS | 3 | 176 | 28 | 1,082 |
PO File | 1 | 158 | 81 | 365 |
SVG | 13 | 9 | 0 | 156 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 18.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 16 | 16.16% |
▷ Public methods | 62 | 62.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 37 | 37.37% |
Functions | 20 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 20 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/gpaywallet.png | 6.31KB | 3.21KB | ▼ 49.17% |
public/images/paid.png | 0.58KB | 0.38KB | ▼ 34.95% |
public/images/wallet.png | 6.49KB | 3.57KB | ▼ 44.98% |
public/images/noimage.png | 2.81KB | 2.50KB | ▼ 11.28% |