Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.63ms] Passed 4 tests
An overview of server-side resources used by Roomcloud
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.72 ▼4.19 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.70 ▼2.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.08 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.24 ▲1.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.47 ▲0.22 |
Server storage [IO: ▲0.34MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Roomcloud: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.18 ▼1.19 | 1.68 ▼0.03 | 40.35 ▼2.74 |
Dashboard /wp-admin | 2,200 ▲11 | 5.81 ▲0.78 | 98.57 ▼6.75 | 38.72 ▲0.83 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.97 ▼0.08 | 38.64 ▲3.15 | 35.00 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,519 ▼1 | 23.39 ▲0.03 | 640.00 ▲51.16 | 59.60 ▲10.63 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.03 | 104.90 ▼0.37 | 44.84 ▲0.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/roomcloud/roomcloud.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Requires php: Invalid plugin version format
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== roomcloud ===
)
roomcloud/roomcloud.php Passed 13 tests
The main PHP script in "Roomcloud" version 2.0.15 is automatically included on every request by WordPress
83 characters long description:
A Plugin to add roomcloud booking form to hotel website using [roomcloud] shortcode
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
Success! There were no dangerous files found in this plugin7,624 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,011 | 27 | 4,206 |
PHP | 1 | 928 | 29 | 1,852 |
JavaScript | 8 | 1,224 | 107 | 1,566 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin