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
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼0.68ms] Passed 4 tests
A check of server-side resources used by Business Hours With Online/Offline Status
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 42.24 ▼5.88 |
Dashboard /wp-admin | 3.63 ▲0.32 | 55.14 ▲3.83 |
Posts /wp-admin/edit.php | 3.68 ▲0.31 | 54.64 ▼3.21 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 95.35 ▲2.52 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 43.73 ▲9.30 |
Support Online /wp-admin/options-general.php?page=mage-plugin_settings_page | 3.46 | 40.52 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 8 new options
New WordPress options |
---|
general_setting_sec |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
general_setting_section_timepicker |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Business Hours With Online/Offline Status
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 14.74 ▲0.35 | 2.45 ▲0.40 | 40.98 ▼6.19 |
Dashboard /wp-admin | 2,364 ▲187 | 6.41 ▲0.73 | 117.04 ▲24.65 | 43.17 ▲3.68 |
Posts /wp-admin/edit.php | 2,289 ▲189 | 3.69 ▲1.69 | 57.37 ▲15.25 | 35.84 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,551 ▲6 | 23.44 ▲0.26 | 637.77 ▼15.50 | 39.19 ▼35.45 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.32 ▲0.10 | 89.35 ▼14.37 | 42.15 ▼0.86 |
Support Online /wp-admin/options-general.php?page=mage-plugin_settings_page | 2,154 | 4.85 | 101.82 | 25.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- general_setting_section_timepicker
- can_compress_scripts
- general_setting_sec
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in mage-support-online/assets to your readme.txt
mage-support-online/mage-support-online.php Passed 13 tests
The main file in "Business Hours With Online/Offline Status" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
110 characters long description:
This plugin will show your online status like active and deactive. and when support will be offline or online.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,812 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 309 | 394 | 987 |
JavaScript | 4 | 125 | 148 | 664 |
CSS | 5 | 22 | 54 | 144 |
Markdown | 1 | 6 | 0 | 17 |
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.33 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 3 | 4.29% |
▷ Public methods | 66 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 5.71% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin