Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.47ms] Passed 4 tests
This is a short check of server-side resources used by Skedmaker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.47 ▲5.58 |
Dashboard /wp-admin | 3.31 ▼0.03 | 54.06 ▼14.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 55.77 ▲4.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.96 ▼13.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.13 ▲1.13 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 154 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Skedmaker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 13.83 ▼0.14 | 8.70 ▲7.25 | 42.23 ▼1.25 |
Dashboard /wp-admin | 2,207 ▲27 | 5.64 ▲0.00 | 86.66 ▼8.02 | 41.32 ▼3.82 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 1.98 ▼0.03 | 35.24 ▲0.29 | 31.52 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.09 ▼0.13 | 679.53 ▼47.13 | 54.59 ▲6.44 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.21 ▲0.05 | 118.39 ▲18.22 | 48.72 ▲4.91 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/skedmaker-online-scheduling/_admin/_default.php
- 52× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function SM_title() in wp-content/plugins/skedmaker-online-scheduling/_admin/_blackouts.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function SM_total() in wp-content/plugins/skedmaker-online-scheduling/_admin/_noshows.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/skedmaker-online-scheduling/_include/sm-styles.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/skedmaker-online-scheduling/_include/sm-build-db.php:36
- > PHP Notice
Undefined index: list in wp-content/plugins/skedmaker-online-scheduling/_admin/_appointments.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/skedmaker-online-scheduling/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function SM_menu() in wp-content/plugins/skedmaker-online-scheduling/_admin/_default.php:139
- > PHP Notice
Undefined variable: smadmin in wp-content/plugins/skedmaker-online-scheduling/_admin/_email_notices.php on line 99
- > PHP Fatal error
Uncaught Error: Call to undefined function SM_delete_check() in wp-content/plugins/skedmaker-online-scheduling/_admin/_services.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function SM_title() in wp-content/plugins/skedmaker-online-scheduling/_admin/_options.php:78
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (skedmaker-screenshot-1.png), #2 (skedmaker-screenshot-2.png), #3 (skedmaker-screenshot-3.png), #4 (skedmaker-screenshot-4.png), #5 (skedmaker-screenshot-5.png)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== skedmaker-online-scheduling ===
)
skedmaker-online-scheduling/wp-skedmaker.php 92% from 13 tests
The primary PHP file in "Skedmaker" version 0.98 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("skedmaker-online-scheduling.php" instead of "wp-skedmaker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin7,499 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 6,330 | 705 | 7,499 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 105 | |
▷ Named functions | 105 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
121 PNG files occupy 0.26MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_btns/btn_contact16b_reg.png | 1.76KB | 0.98KB | ▼ 44.35% |
_btns/btn_sked32_reg.png | 2.98KB | 1.54KB | ▼ 48.21% |
_btns/btn_purge16_reg.png | 0.55KB | 0.66KB | 0.00% |
_btns/btn_dbbak32_reg.png | 1.62KB | 1.57KB | ▼ 2.96% |
_btns/btn_myaccount16_reg.png | 0.72KB | 0.68KB | ▼ 5.01% |