Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.42ms] Passed 4 tests
Server-side resources used by Rentle - Easy Rental Booking System
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.04 ▼0.43 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.87 ▼2.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.76 ▼3.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 137.70 ▲41.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.81 ▼6.98 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Rentle - Easy Rental Booking System: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲13 | 13.74 ▲0.51 | 4.71 ▲2.49 | 39.54 ▼9.14 |
Dashboard /wp-admin | 2,209 ▲3 | 4.84 ▼0.03 | 105.29 ▼12.08 | 39.15 ▼1.97 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.04 | 39.62 ▲5.46 | 36.41 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6,418 ▲4,885 | 20.60 ▼2.66 | 861.05 ▲78.40 | 51.58 ▼1.90 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▼0.05 | 96.72 ▼7.87 | 39.70 ▼7.31 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: booking, rental, reservation, calendar, availability
embed-rentle/plugin.php 92% from 13 tests
The principal PHP file in "Rentle - Easy Rental Booking System" v. 1.2.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("embed-rentle.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin7,684 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 7,151 |
JavaScript | 6 | 20 | 22 | 219 |
PHP | 3 | 46 | 68 | 183 |
Sass | 3 | 18 | 2 | 81 |
Markdown | 1 | 17 | 0 | 48 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 6 | 54.55% |
▷ Public methods | 7 | 63.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 36.36% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin