Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.61ms] Passed 4 tests
Server-side resources used by Fatal Error Notify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.84 ▼6.05 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.87 ▲8.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.17 ▼1.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.82 ▲9.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.08 ▲1.33 |
Fatal Error Notify /wp-admin/options-general.php?page=fatal-error-notify | 3.20 | 30.08 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Fatal Error Notify: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.33 ▼1.26 | 1.84 ▼0.02 | 43.10 ▼1.09 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▼0.04 | 96.88 ▼16.18 | 37.98 ▼3.57 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.05 | 34.83 ▼3.11 | 35.34 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 18.32 ▼4.76 | 633.09 ▼19.74 | 58.43 ▼7.27 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.13 ▼0.05 | 98.63 ▲0.41 | 45.06 ▼0.64 |
Fatal Error Notify /wp-admin/options-general.php?page=fatal-error-notify | 979 | 2.07 | 22.56 | 25.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fatal-error-notify/includes/class-public.php:14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: reporting, fatal, error, debugging
fatal-error-notify/fatal-error-notify.php Passed 13 tests
"Fatal Error Notify" version 1.5.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Receive email notifications when errors occur on your WordPress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin396 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 165 | 169 | 337 |
CSS | 1 | 8 | 7 | 45 |
JavaScript | 1 | 8 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pro-promo.png | 25.22KB | 11.23KB | ▼ 55.46% |