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.19MB] [CPU: ▼294.63ms] Passed 4 tests
Server-side resources used by Setmore Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 54.39 ▲4.07 |
Dashboard /wp-admin | 3.64 ▲0.24 | 34.55 ▲2.08 |
Posts /wp-admin/edit.php | 3.87 ▲0.23 | 40.49 ▼1.54 |
Add New Post /wp-admin/post-new.php | 7.11 ▲0.14 | 93.53 ▼1,183.13 |
Media Library /wp-admin/upload.php | 3.52 ▲0.23 | 27.31 ▲4.28 |
Setmore Plus /wp-admin/options-general.php?page=setmoreplus | 3.50 | 23.35 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 3 new options
New WordPress options |
---|
setmoreplus_version |
widget_setmore_plus_widget |
setmoreplus |
Browser metrics Passed 4 tests
Setmore Plus: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,014 ▲260 | 16.27 ▲0.19 | 12.83 ▲6.71 | 2.57 ▲0.15 |
Dashboard /wp-admin | 2,897 ▲36 | 6.14 ▼0.01 | 114.88 ▼20.10 | 157.88 ▼2.08 |
Posts /wp-admin/edit.php | 2,678 ▼13 | 3.24 ▲0.00 | 64.35 ▼2.00 | 140.30 ▼9.56 |
Add New Post /wp-admin/post-new.php | 1,671 ▲10 | 18.02 ▲1.85 | 396.87 ▼11.94 | 162.15 ▲3.95 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.50 ▼0.05 | 156.96 ▲16.16 | 185.12 ▼1.36 |
Setmore Plus /wp-admin/options-general.php?page=setmoreplus | 1,995 | 2.77 | 58.31 | 155.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- widget_setmore_plus_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Congratulations! This plugin passed the SRP test
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: adopt-me, scheduling, spa, calendar, salon...
setmore-plus/setmore-plus.php Passed 13 tests
"Setmore Plus" version 3.7.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
Easy online appointments with a widget, shortcode, or menu link.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,780 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 213 | 188 | 1,152 |
CSS | 5 | 62 | 50 | 270 |
PO File | 1 | 106 | 150 | 252 |
JavaScript | 3 | 28 | 23 | 106 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 50 | |
▷ Static methods | 4 | 8.00% |
▷ Public methods | 48 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/SetmorePlus-large.png | 36.68KB | 18.67KB | ▼ 49.10% |
inc/colorbox/images/loading_background.png | 0.15KB | 0.15KB | ▼ 0.64% |
images/SetmorePlus-menu-link.png | 64.43KB | 34.78KB | ▼ 46.03% |
inc/colorbox/images/controls.png | 2.83KB | 1.28KB | ▼ 54.82% |
css/lnt.png | 0.50KB | 0.52KB | 0.00% |