Benchmarks
Plugin footprint 65% 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.75MB] [CPU: ▼34.53ms] Passed 4 tests
An overview of server-side resources used by Ibexrentacar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 50.11 ▲4.54 |
Dashboard /wp-admin | 3.19 ▼0.11 | 29.84 ▼27.31 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 31.56 ▼21.08 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 26.64 ▼80.32 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 28.11 ▼9.41 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ibexrentacar_options |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Ibexrentacar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.23 ▼0.12 | 2.10 ▲0.16 | 42.89 ▲2.09 |
Dashboard /wp-admin | 2,198 ▲18 | 5.56 ▼0.12 | 95.34 ▲0.87 | 66.68 ▲20.94 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 1.99 ▲0.02 | 38.61 ▼2.28 | 34.63 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.51 ▲1.88 | 684.37 ▼26.79 | 57.55 ▲8.72 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.21 ▼0.00 | 101.99 ▼0.98 | 78.63 ▲30.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ibexrentacar/ibexrentacar-settings.php+1
Undefined variable: page
- This plugin does not fully uninstall, leaving 7 options in the database
- ibexrentacar_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ibexrentacar/lib/irc/frontend/shortcode/shortirc.php
- > /wp-content/plugins/ibexrentacar/lib/wp/update.php
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/config.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function ws_request() in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/dashboard.php:11
- > PHP Notice
Undefined index: lsPluginPath in wp-content/plugins/ibexrentacar/lib/irc/frontend/support/support.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function ws_request() in wp-content/plugins/ibexrentacar/lib/irc/frontend/import/sync.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/layout/layout.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/layout/foot.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/user.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/irc/layout/head.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/support/documentation.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ibexrentacar/lib/irc/frontend/support/sidebar.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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: fleet, car rental software, rent a car, ibexrentacar, alquiler coches
ibexrentacar/ibexrentacar-plugin.php 92% from 13 tests
The main file in "Ibexrentacar" v. 1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ibexrentacar.php" instead of "ibexrentacar-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
Success! There were no dangerous files found in this plugin79 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 0 | 176 | 68 |
XML | 1 | 0 | 0 | 9 |
CSS | 1 | 0 | 0 | 1 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.74 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 88.89% |
▷ Protected methods | 3 | 11.11% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 28 | 87.50% |
▷ Anonymous functions | 4 | 12.50% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
36 PNG files occupy 0.24MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/language/en.png | 0.59KB | 0.43KB | ▼ 26.17% |
img/language/ca.png | 0.96KB | 0.15KB | ▼ 84.07% |
img/place.png | 4.08KB | 2.01KB | ▼ 50.80% |
img/language/es.png | 0.32KB | 0.25KB | ▼ 21.85% |
img/icon_16x16.png | 3.36KB | 0.68KB | ▼ 79.80% |