Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.17ms] Passed 4 tests
An overview of server-side resources used by indexic aReservation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.03 ▼0.50 |
Dashboard /wp-admin | 3.32 ▲0.02 | 54.85 ▲5.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.73 ▲3.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.69 ▼7.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.03 ▲0.69 |
aReservation /wp-admin/options-general.php?page=indexic-areservation | 3.22 | 39.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
areservation_options |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for indexic aReservation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.37 ▼1.35 | 11.03 ▲9.32 | 43.84 ▼2.72 |
Dashboard /wp-admin | 2,196 ▲25 | 5.62 ▲0.01 | 94.36 ▼3.35 | 37.47 ▼5.48 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.01 | 37.67 ▼1.55 | 38.23 ▲4.35 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.88 ▼0.11 | 699.65 ▲78.67 | 51.18 ▲2.03 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.26 ▲0.13 | 105.54 ▼17.66 | 43.80 ▼0.88 |
aReservation /wp-admin/options-general.php?page=indexic-areservation | 3,723 | 2.37 | 77.63 | 77.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/indexic-areservation/indexic-areservation.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== indexic-areservation ===
)
indexic-areservation/indexic-areservation.php Passed 13 tests
The entry point to "indexic aReservation" version 1.3.1 is a PHP file that has certain tags in its header comment area
134 characters long description:
Easily integrate Indexic's aReservation Tour Booking and Rental Reservation Software (3rd party software) into your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin703 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 123 | 28 | 352 |
CSS | 2 | 63 | 14 | 213 |
JavaScript | 2 | 109 | 22 | 138 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 11.00 |
▷ Minimum method complexity | 6.00 |
▷ Maximum method complexity | 16.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 | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 5.08KB | 5.16KB | 0.00% |