Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼137.54ms] Passed 4 tests
Server-side resources used by SiteBam
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.35 ▲13.80 |
Dashboard /wp-admin | 3.07 ▲0.01 | 51.17 ▲7.97 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 46.13 ▲2.56 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 92.10 ▼550.99 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 30.82 ▼9.70 |
SiteBam /wp-admin/options-general.php?page=sitebam_settings | 3.03 | 29.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
sitebam_version |
Browser metrics Passed 4 tests
SiteBam: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲128 | 15.88 ▼0.03 | 8.37 ▲0.35 | 50.55 ▼2.25 |
Dashboard /wp-admin | 2,999 ▲65 | 5.94 ▼0.05 | 132.87 ▼11.42 | 112.48 ▼10.13 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.69 ▲0.00 | 61.37 ▼3.24 | 98.26 ▲6.87 |
Add New Post /wp-admin/post-new.php | 1,688 ▲51 | 18.73 ▼0.36 | 367.04 ▼15.59 | 104.69 ▼4.21 |
Media Library /wp-admin/upload.php | 1,817 ▼5 | 5.07 ▲0.05 | 135.74 ▼22.23 | 121.19 ▼2.16 |
SiteBam /wp-admin/options-general.php?page=sitebam_settings | 1,103 | 2.09 | 50.73 | 62.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- sitebam_version
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 | 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: seo, heatmaps, sitebam, recordings, chat
sitebam/sitebam.php Passed 13 tests
The primary PHP file in "SiteBam" version 1.0.0 is used by WordPress to initiate all plugin functionality
27 characters long description:
Get more from your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin165 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 48 | 151 |
CSS | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 4 | 23.53% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/static/sitebam_logo.png | 7.70KB | 4.09KB | ▼ 46.88% |
admin/static/tagline.png | 1.90KB | 1.26KB | ▼ 33.32% |