Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼256.17ms] Passed 4 tests
Analyzing server-side resources used by L7 Automatic Updates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.07 | 39.54 ▲10.77 |
Dashboard /wp-admin | 3.15 ▲0.10 | 58.93 ▲13.32 |
Posts /wp-admin/edit.php | 3.26 ▲0.16 | 47.29 ▲4.60 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 93.05 ▼1,036.87 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 31.96 ▼3.17 |
L7 Auto Updates /wp-admin/options-general.php?page=l7-automatic-updates | 3.06 | 31.56 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for L7 Automatic Updates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,654 ▲73 | 15.83 ▲0.17 | 7.75 ▼0.41 | 45.56 ▼1.62 |
Dashboard /wp-admin | 2,932 ▲79 | 5.91 ▲0.05 | 155.30 ▲22.42 | 104.79 ▲5.66 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.70 ▲0.02 | 68.64 ▲2.11 | 95.68 ▲4.91 |
Add New Post /wp-admin/post-new.php | 1,484 ▼369 | 18.44 ▼0.78 | 347.09 ▼33.15 | 108.58 ▼0.52 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 5.02 ▲0.03 | 162.43 ▲17.18 | 108.13 ▼4.05 |
L7 Auto Updates /wp-admin/options-general.php?page=l7-automatic-updates | 1,225 | 2.43 | 60.82 | 76.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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 everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
7 plugin tags: automatic, updates, themes, minor, individual...
l7-automatic-updates/l7-automatic-updates.php Passed 13 tests
The principal PHP file in "L7 Automatic Updates" v. 2.0.0 is loaded by WordPress automatically on each request
50 characters long description:
Options for setting Wordpress's Automatic updates.
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
Success! There were no dangerous files found in this plugin2,105 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 0 | 0 | 1,810 |
PHP | 2 | 65 | 171 | 275 |
JavaScript | 3 | 3 | 16 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.13 |
▷ 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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin