Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼2.51ms] Passed 4 tests
This is a short check of server-side resources used by Hassle-Free Date List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 40.09 ▼3.57 |
Dashboard /wp-admin | 3.55 ▲0.25 | 45.07 ▼0.22 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.47 ▼0.45 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 90.31 ▼5.80 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.80 ▼0.23 |
Add New /wp-admin/post-new.php?post_type=hfdl_schedule | 3.51 | 45.95 |
Dates /wp-admin/edit.php?post_type=hfdl_schedule | 3.52 | 36.30 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Hassle-Free Date List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 13.26 ▼1.05 | 2.11 ▼0.25 | 42.65 ▼9.11 |
Dashboard /wp-admin | 2,233 ▲42 | 5.86 ▲1.00 | 103.42 ▼3.15 | 40.13 ▼5.20 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.19 ▲0.14 | 39.64 ▼0.71 | 35.75 ▲0.11 |
Add New Post /wp-admin/post-new.php | 6,613 ▲5,069 | 29.39 ▲10.99 | 931.70 ▲330.26 | 61.92 ▲7.67 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.18 ▼0.02 | 96.61 ▼10.76 | 40.26 ▼9.56 |
Add New /wp-admin/post-new.php?post_type=hfdl_schedule | 1,937 | 2.63 | 54.98 | 63.89 |
Dates /wp-admin/edit.php?post_type=hfdl_schedule | 1,080 | 1.99 | 31.18 | 31.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: times, events, event, schedule, dates
hassle-free-date-list/hassle-free-date-list.php 92% from 13 tests
Analyzing the main PHP file in "Hassle-Free Date List" version 1.0.0
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 300 characters long)
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
Everything looks great! No dangerous files found in this plugin2,085 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 249 | 628 | 1,289 |
Sass | 3 | 78 | 3 | 339 |
JavaScript | 4 | 17 | 7 | 301 |
CSS | 3 | 25 | 9 | 139 |
JSON | 1 | 0 | 0 | 17 |
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.30 |
Average class complexity | 19.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 43 | 84.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 15.69% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected