Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.75ms] Passed 4 tests
Analyzing server-side resources used by igumbi Online Booking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.45 ▼0.25 |
Dashboard /wp-admin | 3.37 ▲0.02 | 43.57 ▼15.44 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.45 ▼1.46 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.65 ▼17.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.36 ▲2.24 |
igumbi Online Booking /wp-admin/options-general.php?page=igumbi-admin-menu | 3.28 | 342.43 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_igumbi_widget |
igumbi_custom_css |
igumbi_hotel_id |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
igumbi_wide |
igumbi_language |
... |
Browser metrics Passed 4 tests
igumbi Online Booking: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.27 ▲0.05 | 1.92 ▲0.30 | 44.01 ▲5.11 |
Dashboard /wp-admin | 2,199 ▲24 | 5.56 ▼0.16 | 93.35 ▼5.97 | 40.35 ▼0.88 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.02 | 57.05 ▲12.21 | 39.45 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.72 ▲0.61 | 675.98 ▼9.17 | 57.15 ▲4.51 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.05 | 95.21 ▼2.00 | 41.66 ▼3.02 |
igumbi Online Booking /wp-admin/options-general.php?page=igumbi-admin-menu | 3,587 | 2.23 | 29.48 | 56.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_igumbi_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/igumbi-online-booking/includes/views/admin-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/igumbi-online-booking/igumbi-online-booking.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (39 tag instead of maximum 10); only the first 5 tags are used in your directory listing
igumbi-online-booking/igumbi-online-booking.php 92% from 13 tests
"igumbi Online Booking" version 1.37's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 610 characters long)
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
No dangerous file extensions were detected890 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 122 | 128 | 579 |
PHP | 2 | 47 | 16 | 311 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected