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.01MB] [CPU: ▼8.63ms] Passed 4 tests
Server-side resources used by Oganro Travel Portal Search Widget for HotelBeds APITUDE API
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.35 ▼4.64 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.23 ▼15.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.11 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.02 ▼14.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.09 ▲2.11 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Oganro Travel Portal Search Widget for HotelBeds APITUDE API
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.31 ▼0.87 | 2.20 ▲0.15 | 42.72 ▲2.65 |
Dashboard /wp-admin | 2,221 ▲30 | 5.86 ▼0.05 | 100.88 ▼0.47 | 83.90 ▲42.14 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.97 ▼0.08 | 38.53 ▼4.80 | 34.82 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.14 ▼0.37 | 707.18 ▲37.19 | 55.26 ▼3.17 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.15 ▼0.02 | 98.17 ▼1.25 | 71.37 ▲28.21 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
oganro-travel-portal-search-widget-for-hotelbeds-apitude-api/ogn-hxsw-hotelbeds-xml-search-widget.php 92% from 13 tests
This is the main PHP file of "Oganro Travel Portal Search Widget for HotelBeds APITUDE API" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("oganro-travel-portal-search-widget-for-hotelbeds-apitude-api.php" instead of "ogn-hxsw-hotelbeds-xml-search-widget.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
Good job! No executable or dangerous file extensions detected4,006 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 407 | 183 | 1,643 |
CSS | 4 | 105 | 57 | 1,419 |
PHP | 5 | 147 | 52 | 656 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_cc0000_256x240.png | 3.67KB | 4.17KB | 0.00% |
css/img/ogn_hxsw_settings.png | 2.48KB | 1.40KB | ▼ 43.41% |
css/images/ui-icons_444444_256x240.png | 3.67KB | 4.17KB | 0.00% |
css/images/ui-icons_777620_256x240.png | 3.67KB | 4.17KB | 0.00% |
css/img/ogn_hxsw_search.png | 1.66KB | 1.50KB | ▼ 9.26% |