Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼14.26ms] Passed 4 tests
A check of server-side resources used by Saksh appointment booking system
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 23.50 ▼15.97 |
Dashboard /wp-admin | 3.42 ▲0.08 | 42.78 ▼20.88 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 45.74 ▼4.43 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 79.58 ▼15.75 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.56 ▲1.20 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_time_slots |
wp_events |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Saksh appointment booking system: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,486 ▼301 | 14.37 ▼0.27 | 0.69 ▼1.16 | 17.26 ▼26.76 |
Dashboard /wp-admin | 2,230 ▲52 | 5.68 ▼0.04 | 98.14 ▼14.02 | 41.29 ▼2.69 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.03 ▲0.08 | 41.14 ▲4.18 | 29.63 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.07 ▲0.04 | 637.36 ▼101.26 | 67.49 ▲0.76 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.27 ▲0.09 | 101.30 ▲0.75 | 42.96 ▲0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_time_slots
- wp_events
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/saksh-text-to-voice-system/saksh_admin/admin_report.php on line 6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/saksh-text-to-voice-system/saksh_admin/admin_report.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/saksh-text-to-voice-system/saksh_wchook.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/saksh-text-to-voice-system/saksh_admin/time_slots.php:302
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/saksh-text-to-voice-system/saksh_admin/admin_report.php on line 6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: appointment, appointments booking, reservation, calendar, booking calendar...
saksh-text-to-voice-system/saksh_appointment.php 85% from 13 tests
The main PHP script in "Saksh appointment booking system" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("saksh-text-to-voice-system.php" instead of "saksh_appointment.php")
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 plugin722 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 745 | 97 | 642 |
JavaScript | 1 | 83 | 2 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 24 | |
▷ Static methods | 7 | 29.17% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 18 | 90.00% |
▷ Anonymous functions | 2 | 10.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin