Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-create-db.php+86
Non-static method PAC_Table_Generator::_buildPacUserTable() should not be called statically
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.80ms] Passed 4 tests
Server-side resources used by Podamibe Appointment Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.82 ▲3.13 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.69 ▼7.57 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 44.66 ▼5.86 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 90.65 ▼12.90 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.55 ▲5.71 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 33 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pac_user |
New WordPress options |
---|
widget_pac_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Podamibe Appointment Calendar: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲254 | 14.19 ▼0.22 | 12.26 ▲10.45 | 41.41 ▼6.27 |
Dashboard /wp-admin | 2,253 ▲65 | 5.23 ▼0.65 | 106.79 ▲6.91 | 42.22 ▼2.22 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.60 ▲0.58 | 38.51 ▼1.33 | 33.36 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,567 ▲48 | 23.54 ▲0.39 | 594.45 ▼16.48 | 33.35 ▼15.31 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.50 ▲0.32 | 89.80 ▼7.53 | 44.65 ▲3.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_pac_user
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_pac_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-calendar.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-instruction.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-widget.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-setting.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/frontend/class-pac-sc.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-form.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/frontend/class-pac-form-element.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-about.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/backend/class-pac-users.php
- > /wp-content/plugins/podamibe-appointment-calendar/inc/frontend/class-pac-design.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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 your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
podamibe-appointment-calendar/pac-main.php 77% from 13 tests
The primary PHP file in "Podamibe Appointment Calendar" version 1.1.6 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("podamibe-appointment-calendar.php" instead of "pac-main.php")
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
There were no executable files found in this plugin2,193 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 107 | 112 | 1,005 |
CSS | 6 | 66 | 22 | 865 |
JavaScript | 5 | 38 | 38 | 323 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 26 | |
▷ Static methods | 3 | 11.54% |
▷ Public methods | 18 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 30.77% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
6 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ui-icons_777777_256x240.png | 3.67KB | 4.17KB | 0.00% |
assets/images/ui-icons_ffffff_256x240.png | 3.67KB | 4.17KB | 0.00% |
assets/images/right-arrow.png | 0.36KB | 0.19KB | ▼ 46.74% |
assets/images/ui-icons_444444_256x240.png | 3.67KB | 4.17KB | 0.00% |
assets/images/ui-icons_555555_256x240.png | 3.67KB | 4.17KB | 0.00% |