Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.57ms] Passed 4 tests
Analyzing server-side resources used by WPC Smart Notifications for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 23.91 ▼13.17 |
Dashboard /wp-admin | 3.45 ▲0.10 | 45.76 ▼12.12 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 43.56 ▼2.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.68 ▼6.07 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.53 ▲0.57 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.34 | 29.18 |
Smart Notifications /wp-admin/admin.php?page=wpclever-wpcsn | 3.64 | 39.86 |
About /wp-admin/admin.php?page=wpclever | 3.33 | 32.01 |
Server storage [IO: ▲0.50MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Smart Notifications for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,527 ▼234 | 14.11 ▼0.45 | 0.55 ▼1.12 | 18.78 ▼21.66 |
Dashboard /wp-admin | 2,271 ▲94 | 5.54 ▲0.03 | 83.93 ▼6.89 | 67.35 ▲25.09 |
Posts /wp-admin/edit.php | 2,176 ▲79 | 1.97 ▼0.03 | 33.08 ▼3.01 | 29.39 ▼6.84 |
Add New Post /wp-admin/post-new.php | 1,598 ▲70 | 23.33 ▲0.42 | 641.72 ▼24.28 | 100.44 ▲41.65 |
Media Library /wp-admin/upload.php | 1,476 ▲76 | 4.22 ▲0.08 | 99.67 ▼6.64 | 82.67 ▲35.76 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,737 | 2.14 | 31.63 | 57.92 |
Smart Notifications /wp-admin/admin.php?page=wpclever-wpcsn | 2,055 | 3.62 | 65.66 | 64.40 |
About /wp-admin/admin.php?page=wpclever | 1,392 | 2.13 | 30.17 | 33.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
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
5 plugin tags: woo, wpc, woocommerce, smart, notification
wpc-smart-notification/wpc-smart-notification.php Passed 13 tests
Analyzing the main PHP file in "WPC Smart Notifications for WooCommerce" version 2.3.5
64 characters long description:
Increase trust, credibility, and sales with smart notifications.
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
Everything looks great! No dangerous files found in this plugin10,525 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 1,295 | 346 | 5,308 |
CSS | 8 | 448 | 21 | 2,654 |
PHP | 30 | 445 | 26 | 2,491 |
SVG | 2 | 0 | 1 | 72 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 32.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 10 | 11.90% |
▷ Public methods | 67 | 79.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 20.24% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin