Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.24ms] Passed 4 tests
An overview of server-side resources used by Partybook Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.23 ▼1.23 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.42 ▼1.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.45 ▼7.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.43 ▼6.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 40.05 ▲2.57 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_partybook_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Partybook Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲142 | 13.44 ▼1.22 | 9.72 ▲7.94 | 42.31 ▼2.86 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▼0.02 | 97.17 ▲4.88 | 41.64 ▼1.69 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 36.43 ▼3.54 | 33.07 ▼4.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.28 ▲0.17 | 654.51 ▲5.90 | 52.13 ▼4.04 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.22 ▼0.00 | 96.34 ▼8.85 | 42.55 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_partybook_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
partybook-widget/partybook-widget.php Passed 13 tests
The entry point to "Partybook Widget" version 1.1 is a PHP file that has certain tags in its header comment area
87 characters long description:
A plugin to display a booking form using GET method, through a widget named, PartyBook.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,284 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 284 | 137 | 1,047 |
CSS | 1 | 50 | 9 | 161 |
PHP | 1 | 15 | 17 | 76 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
3 PNG files occupy 0.09MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screen Shot 1.png | 38.62KB | 7.28KB | ▼ 81.15% |
Screen Shot 2.png | 37.51KB | 6.92KB | ▼ 81.55% |
assets/partycache_logo_tm_80.png | 20.67KB | 2.23KB | ▼ 89.20% |