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.23MB] [CPU: ▲2.69ms] Passed 4 tests
A check of server-side resources used by MeteoSales
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 45.63 ▲2.50 |
Dashboard /wp-admin | 3.53 ▲0.23 | 55.51 ▲8.76 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 53.76 ▲6.52 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 94.95 ▼1.46 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 39.44 ▲3.19 |
MeteoSales /wp-admin/admin.php?page=meteo_sales | 3.43 | 35.39 |
Banner Settings /wp-admin/admin.php?page=banner_setting | 3.44 | 43.32 |
Settings /wp-admin/admin.php?page=general_setting | 3.48 | 36.33 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MeteoSales: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲167 | 13.98 ▼0.21 | 5.12 ▲3.03 | 40.43 ▼4.19 |
Dashboard /wp-admin | 2,221 ▲33 | 5.86 ▲0.83 | 99.59 ▼9.59 | 85.43 ▲40.20 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 1.98 ▼0.02 | 38.52 ▲3.24 | 33.68 ▼5.07 |
Add New Post /wp-admin/post-new.php | 1,545 ▲21 | 23.23 ▲0.10 | 693.72 ▲40.97 | 61.76 ▼5.22 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.19 ▼0.11 | 103.62 ▲2.04 | 67.41 ▲21.65 |
MeteoSales /wp-admin/admin.php?page=meteo_sales | 2,007 | 16.15 | 514.83 | 94.32 |
Banner Settings /wp-admin/admin.php?page=banner_setting | 843 | 2.04 | 25.42 | 30.05 |
Settings /wp-admin/admin.php?page=general_setting | 843 | 2.03 | 24.56 | 21.61 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/meteosales/public/partials/meteosales-public-display.php
- > /wp-content/plugins/meteosales/admin/partials/meteosales-admin-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=general_setting
- > Network (severe)
wp-content/plugins/meteosales/admin/js/meteosales-admin.js?ver=1.0.16 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: "info@meteosales.com"
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
meteosales/meteosales.php Passed 13 tests
The main PHP file in "MeteoSales" ver. 1.0.16 adds more information about the plugin and also serves as the entry point for this plugin
46 characters long description:
The Swiss army knife solutions for WooCommerce
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 detected11,355 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 9,572 |
PHP | 21 | 374 | 728 | 1,782 |
CSS | 3 | 0 | 14 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/meteocommerce_icon_20x20.png | 0.65KB | 0.32KB | ▼ 50.00% |
admin/images/meteosales_20.png | 0.72KB | 0.70KB | ▼ 3.38% |