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.01MB] [CPU: ▼8.88ms] Passed 4 tests
An overview of server-side resources used by Experitus Booking Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.73 ▼3.11 |
Dashboard /wp-admin | 3.33 ▼0.01 | 43.51 ▼14.66 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.04 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.71 ▼19.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.27 ▲6.54 |
Experitus Form /wp-admin/tools.php?page=experitus-form | 3.26 | 30.56 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_recent-comments |
experitus_options_check |
experitus_request_attributes |
widget_recent-posts |
experitus_block_dates |
experitus_connection_data |
experitus_ssl_verifypeer |
experitus_countries |
db_upgraded |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Experitus Booking Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.14 | 1.75 ▲0.13 | 40.42 ▲0.48 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.92 | 132.75 ▲20.03 | 45.51 ▲2.32 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.07 | 38.31 ▲1.95 | 34.26 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.22 ▲0.03 | 671.58 ▲7.11 | 66.39 ▲12.39 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.07 | 106.78 ▲9.92 | 47.35 ▲1.10 |
Experitus Form /wp-admin/tools.php?page=experitus-form | 799 | 2.05 | 28.58 | 28.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/experitus-form/includes/views/admin.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/experitus-form/includes/views/form.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/experitus-form/includes/views/_notifications.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add a description for screenshot #3 in experitus-form/assets to your readme.txt
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
experitus-form/experitus-form.php Passed 13 tests
The entry point to "Experitus Booking Form" version 0.4 is a PHP file that has certain tags in its header comment area
87 characters long description:
This plugins integrates your WP site and Experitus account by installing an orders form
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,014 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 124 | 155 | 706 |
JavaScript | 2 | 7 | 6 | 271 |
CSS | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 56.25% |
▷ Protected methods | 4 | 12.50% |
▷ Private methods | 10 | 31.25% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected