Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.33ms] Passed 4 tests
Analyzing server-side resources used by Exit Notifier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 48.98 ▲6.48 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.91 ▼4.78 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.70 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.10 ▲0.48 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.61 ▲2.08 |
Exit Notifier /wp-admin/options-general.php?page=exit_notifier_settings | 3.29 | 37.18 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
exit_notifier_version |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Exit Notifier
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲212 | 13.79 ▼0.51 | 15.71 ▲14.02 | 42.25 ▼1.57 |
Dashboard /wp-admin | 2,214 ▲23 | 5.88 ▲0.97 | 100.39 ▼5.19 | 41.45 ▼4.71 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▼0.00 | 38.52 ▲1.80 | 30.99 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,544 ▲21 | 23.12 ▼0.16 | 635.01 ▼22.86 | 52.66 ▼10.17 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.24 ▲0.05 | 93.30 ▼6.22 | 42.04 ▲0.28 |
Exit Notifier /wp-admin/options-general.php?page=exit_notifier_settings | 1,119 | 3.18 | 37.70 | 28.58 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- exit_notifier_version
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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: credit union, external link, speed bump, pop up, exit link
exit-notifier/exit-notifier.php Passed 13 tests
The main PHP file in "Exit Notifier" ver. 1.9.1 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Pops up a notice when someone clicks a link that takes them away from your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,721 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 218 | 442 | 1,174 |
JavaScript | 5 | 25 | 32 | 515 |
Markdown | 1 | 12 | 0 | 17 |
CSS | 3 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 3 | 7.50% |
▷ Public methods | 38 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
external-link.png | 0.26KB | 0.14KB | ▼ 48.33% |