Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼3.93ms] Passed 4 tests
This is a short check of server-side resources used by EnvyNotifs - All-in-One Notification Management
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 46.01 ▲0.92 |
Dashboard /wp-admin | 3.51 ▲0.20 | 50.99 ▲0.49 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.45 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 84.78 ▼15.11 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.40 ▼1.12 |
All Notices /wp-admin/edit.php?post_type=envynotifs | 3.47 | 39.29 |
Settings /wp-admin/edit.php?post_type=envynotifs&page=envy_notifs_options | 3.39 | 35.04 |
Add New /wp-admin/post-new.php?post_type=envynotifs | 3.54 | 48.44 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/envynotifs/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for EnvyNotifs - All-in-One Notification Management
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲179 | 13.66 ▼1.09 | 9.37 ▲7.53 | 54.64 ▲12.12 |
Dashboard /wp-admin | 2,252 ▲49 | 4.81 ▼1.05 | 114.25 ▲8.64 | 42.74 ▼0.24 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.05 | 33.92 ▼2.21 | 35.70 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,449 ▼77 | 18.11 ▲0.58 | 594.96 ▼100.25 | 45.90 ▼7.51 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.20 ▼0.12 | 95.77 ▼17.27 | 49.56 ▲2.95 |
All Notices /wp-admin/edit.php?post_type=envynotifs | 1,092 | 1.98 | 30.88 | 31.58 |
Settings /wp-admin/edit.php?post_type=envynotifs&page=envy_notifs_options | 1,449 | 2.16 | 24.02 | 28.41 |
Add New /wp-admin/post-new.php?post_type=envynotifs | 2,222 | 7.63 | 171.24 | 65.07 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-bottom-bar.php:248
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-popup.php:227
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-left-sidebar-outside.php:187
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-right-sidebar-inside.php:233
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-top-bar.php:272
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/envynotifs/public/partials/envy-notifs-public-display.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-right-sidebar-outside.php:187
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/envynotifs/includes/class-envy-notifs-css-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/public/partials/templates/envy-notifs-left-sidebar-inside.php:233
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envynotifs/includes/class-envy-notifs.php:239
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: No descriptions were found for these screenshots #6, #7, #8 in envynotifs/assets to your readme.txt
envynotifs/envy-notifs.php 85% from 13 tests
"EnvyNotifs - All-in-One Notification Management" version 1.1'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 ("envynotifs.php" instead of "envy-notifs.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin6,979 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 22 | 359 | 517 | 2,242 |
CSS | 5 | 280 | 66 | 1,883 |
JavaScript | 5 | 46 | 28 | 183 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ 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 | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 55 | |
▷ Named functions | 55 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected