Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.79ms] Passed 4 tests
An overview of server-side resources used by Oganro Flight Booking
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.40 ▼3.62 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.85 ▼17.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.52 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.83 ▼11.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.28 ▼0.46 |
Contact /wp-admin/admin.php?page=oganro-flight-booking/oganro-flight-booking.php/contact | 3.21 | 29.32 |
Short Code /wp-admin/admin.php?page=oganro-flight-booking/oganro-flight-booking.php/shortcode | 3.21 | 27.43 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Oganro Flight Booking
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 13.68 ▼0.69 | 1.64 ▼0.30 | 43.37 ▼3.24 |
Dashboard /wp-admin | 2,220 ▲29 | 5.83 ▲0.91 | 98.57 ▼7.71 | 82.49 ▲36.08 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.02 ▼0.02 | 36.07 ▼2.93 | 37.88 ▲5.62 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.18 ▲5.52 | 725.40 ▲62.83 | 46.84 ▼5.83 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.11 ▼0.05 | 103.69 ▼4.31 | 45.73 ▲2.63 |
Contact /wp-admin/admin.php?page=oganro-flight-booking/oganro-flight-booking.php/contact | 839 | 2.07 | 23.90 | 34.88 |
Short Code /wp-admin/admin.php?page=oganro-flight-booking/oganro-flight-booking.php/shortcode | 861 | 2.08 | 24.70 | 32.25 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
oganro-flight-booking/oganro-flight-booking.php 92% from 13 tests
The main file in "Oganro Flight Booking" v. 1.00 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.1" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected183 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 22 | 104 |
CSS | 2 | 7 | 12 | 49 |
JavaScript | 1 | 11 | 12 | 22 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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
7 PNG files occupy 0.20MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pic256.png | 46.04KB | 11.73KB | ▼ 74.51% |
img/header_logo.png | 13.39KB | 4.48KB | ▼ 66.53% |
img/Oganro.png | 6.96KB | 3.50KB | ▼ 49.71% |
img/pic28.png | 2.46KB | 1.61KB | ▼ 34.59% |
img/banner.png | 13.39KB | 4.48KB | ▼ 66.53% |