Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼144.82ms] Passed 4 tests
A check of server-side resources used by Stop Auto Update Emails
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 46.44 ▲18.31 |
Dashboard /wp-admin | 3.09 ▲0.04 | 52.58 ▼13.60 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 51.17 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 99.47 ▼566.99 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 40.51 ▲2.68 |
Auto update notification /wp-admin/options-general.php?page=stop-auto-update-emails-settings | 3.00 | 35.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Stop Auto Update Emails
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 15.67 ▲0.12 | 11.90 ▼0.93 | 50.67 ▼9.49 |
Dashboard /wp-admin | 2,975 ▲41 | 5.88 ▼0.10 | 169.73 ▼22.13 | 111.12 ▼23.90 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.01 | 72.24 ▲3.12 | 94.58 ▼8.99 |
Add New Post /wp-admin/post-new.php | 3,637 ▲1,954 | 14.99 ▼1.30 | 533.40 ▲99.01 | 116.05 ▲0.59 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.02 | 172.54 ▲7.52 | 124.53 ▼10.12 |
Auto update notification /wp-admin/options-general.php?page=stop-auto-update-emails-settings | 1,083 | 2.09 | 65.58 | 94.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: emails, update, notification, stop, plugins...
stop-auto-update-emails/plugin.php 92% from 13 tests
The entry point to "Stop Auto Update Emails" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("stop-auto-update-emails.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected195 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 11 | 153 |
PO File | 1 | 13 | 15 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin