Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.53ms] Passed 4 tests
An overview of server-side resources used by Scramble Email
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.02 ▼3.62 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.73 ▼0.19 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.53 ▼3.18 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 100.97 ▼3.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.11 ▲2.61 |
Scramble Email /wp-admin/options-general.php?page=scem | 3.26 | 32.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
scem_zone |
widget_theysaidso_widget |
widget_recent-comments |
scem_posttype |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Scramble Email
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 13.23 ▼1.42 | 1.94 ▼0.25 | 40.13 ▼5.93 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.05 | 114.39 ▲10.40 | 42.13 ▲2.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.02 | 39.61 ▼1.19 | 34.46 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 23.56 ▲0.42 | 638.46 ▲9.94 | 52.56 ▼1.36 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.25 ▲0.07 | 95.20 ▼11.30 | 45.72 ▼1.41 |
Scramble Email /wp-admin/options-general.php?page=scem | 800 | 2.03 | 23.56 | 29.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- scem_zone
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- scem_posttype
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: A description for screenshot #3 is missing in scramble-email/assets to your readme.txt
scramble-email/scramble-email.php 92% from 13 tests
The primary PHP file in "Scramble Email" version 1.2.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin489 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 87 | 319 | 261 |
CSS | 2 | 14 | 0 | 126 |
JavaScript | 3 | 45 | 60 | 102 |
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.27 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in 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 |
admin/images/scramble-email-icon.png | 1.07KB | 0.81KB | ▼ 24.34% |