Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.75ms] Passed 4 tests
This is a short check of server-side resources used by A3H Pono Rez Reservation Interface for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.52 ▼1.54 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.95 ▼5.19 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.42 ▼9.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.33 ▼2.94 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.00 ▲1.06 |
Server storage [IO: ▲3.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 521 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for A3H Pono Rez Reservation Interface for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲167 | 14.01 ▼0.34 | 9.43 ▲7.30 | 44.38 ▼7.75 |
Dashboard /wp-admin | 2,235 ▲61 | 4.91 ▼0.72 | 103.84 ▲11.91 | 42.85 ▲2.60 |
Posts /wp-admin/edit.php | 2,122 ▲25 | 2.29 ▲0.26 | 47.09 ▲8.46 | 36.84 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,564 ▲14 | 23.24 ▼0.16 | 673.44 ▲33.82 | 37.39 ▼15.59 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.25 ▲0.06 | 94.06 ▼8.88 | 45.75 ▲0.09 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/a3h-pono-rez-activities-and-booking/a3h.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/a3h-pono-rez-activities-and-booking/lib/class-ponorezdb.php on line 10
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/a3h-pono-rez-activities-and-booking/lib/class-ponorezdb.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: reservations, booking calendar, a3h, booking, booking system...
a3h-pono-rez-activities-and-booking/a3h.php 92% from 13 tests
"A3H Pono Rez Reservation Interface for WordPress" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("a3h-pono-rez-activities-and-booking.php" instead of "a3h.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 plugin38,985 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 73 | 1,104 | 1,944 | 35,235 |
JavaScript | 15 | 522 | 164 | 2,506 |
PHP | 9 | 349 | 372 | 1,214 |
HTML | 2 | 11 | 11 | 25 |
make | 1 | 4 | 3 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 8 | 100.00% |
Methods | 73 | |
▷ Static methods | 4 | 5.48% |
▷ Public methods | 63 | 86.30% |
▷ Protected methods | 6 | 8.22% |
▷ Private methods | 4 | 5.48% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
341 PNG files occupy 0.91MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/themes/eggplant/images/ui-icons_ebccce_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
assets/css/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png | 0.27KB | 0.11KB | ▼ 57.35% |
assets/css/themes/mint-choc/images/ui-icons_ffffff_256x240.png | 6.20KB | 4.20KB | ▼ 32.23% |
assets/css/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png | 0.30KB | 0.18KB | ▼ 39.47% |
assets/css/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png | 0.39KB | 0.17KB | ▼ 57.25% |