Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.39ms] Passed 4 tests
A check of server-side resources used by SALERT – Fake Sales Notification WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 39.67 ▼0.61 |
Dashboard /wp-admin | 3.45 ▲0.15 | 52.32 ▲2.20 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.39 ▼6.41 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 85.64 ▼3.84 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 36.60 ▲1.31 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for SALERT – Fake Sales Notification WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.26 ▼1.35 | 1.91 ▲0.15 | 45.09 ▲0.79 |
Dashboard /wp-admin | 2,205 ▲20 | 4.90 ▼0.92 | 115.93 ▲15.24 | 72.19 ▲32.13 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.01 ▲0.02 | 38.00 ▼3.41 | 36.39 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,678 ▲159 | 22.31 ▼0.84 | 680.14 ▼5.90 | 55.97 ▲0.19 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.19 ▼0.03 | 98.57 ▼12.89 | 43.18 ▼4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/salert/inc/how-to-use.php
- > /wp-content/plugins/salert/salert.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in salert/assets to your readme.txt
salert/salert.php Passed 13 tests
The main PHP script in "SALERT – Fake Sales Notification WooCommerce" version 1.2.5 is automatically included on every request by WordPress
125 characters long description:
The plugin will generate fake sales notifications, which will help to boost your sales.Also works without WooCommerce Plugin.
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
No dangerous file extensions were detected9,116 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,009 | 804 | 6,351 |
CSS | 4 | 414 | 30 | 1,930 |
PHP | 5 | 96 | 124 | 835 |
PHP code Passed 2 tests
A brief analysis 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.15 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
12 PNG files occupy 0.10MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
inc/images/alert-old.png | 0.69KB | 0.74KB | 0.00% |
assets/backend/css/images/placeholder.png | 0.25KB | 0.23KB | ▼ 8.24% |
assets/close-icon.png | 10.26KB | 10.21KB | 0.47% |
assets/backend/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |