Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.65ms] Passed 4 tests
Server-side resources used by WDV - Add Services, Events, Rooms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 38.01 ▼2.36 |
Dashboard /wp-admin | 3.46 ▲0.16 | 46.11 ▼1.77 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 45.83 ▼1.53 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 85.75 ▼6.95 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 32.36 ▼3.52 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.42 | 36.74 |
Services /wp-admin/edit.php?post_type=services | 3.42 | 34.59 |
Add New /wp-admin/post-new.php?post_type=services | 6.35 | 80.79 |
Abouts /wp-admin/edit.php?post_type=about | 3.42 | 34.11 |
Advertisements /wp-admin/edit.php?post_type=advertisement | 3.42 | 34.06 |
Add New /wp-admin/post-new.php?post_type=advertisement | 6.35 | 77.96 |
Add New /wp-admin/post-new.php?post_type=rooms | 6.35 | 81.60 |
Add New /wp-admin/post-new.php?post_type=about | 6.35 | 81.56 |
Rooms /wp-admin/edit.php?post_type=rooms | 3.42 | 36.10 |
Add New /wp-admin/post-new.php?post_type=testimonial | 6.35 | 78.77 |
Server storage [IO: ▲2.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WDV - Add Services, Events, Rooms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,064 ▲318 | 13.98 ▼0.77 | 8.15 ▲6.38 | 36.32 ▼7.37 |
Dashboard /wp-admin | 2,341 ▲153 | 5.85 ▼0.04 | 101.52 ▼15.15 | 38.68 ▼6.17 |
Posts /wp-admin/edit.php | 2,227 ▲138 | 2.03 ▼0.02 | 35.38 ▼0.09 | 31.64 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,635 ▲116 | 17.87 ▼5.47 | 638.26 ▼31.64 | 49.81 ▼12.28 |
Media Library /wp-admin/upload.php | 1,526 ▲135 | 4.31 ▲0.06 | 95.02 ▼15.72 | 40.68 ▼8.31 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,200 | 2.00 | 31.14 | 30.86 |
Services /wp-admin/edit.php?post_type=services | 1,203 | 2.01 | 32.35 | 28.16 |
Add New /wp-admin/post-new.php?post_type=services | 6,276 | 22.96 | 806.34 | 25.34 |
Abouts /wp-admin/edit.php?post_type=about | 1,200 | 2.01 | 32.25 | 34.26 |
Advertisements /wp-admin/edit.php?post_type=advertisement | 1,182 | 1.98 | 32.62 | 27.63 |
Add New /wp-admin/post-new.php?post_type=advertisement | 1,613 | 16.92 | 747.87 | 33.10 |
Add New /wp-admin/post-new.php?post_type=rooms | 1,613 | 16.92 | 760.63 | 29.51 |
Add New /wp-admin/post-new.php?post_type=about | 6,280 | 24.50 | 764.47 | 28.80 |
Rooms /wp-admin/edit.php?post_type=rooms | 1,200 | 1.98 | 31.32 | 29.71 |
Add New /wp-admin/post-new.php?post_type=testimonial | 1,613 | 16.91 | 709.10 | 27.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wdv-add-services-events-rooms/admin/partials/wdv-add-services-events-rooms-admin-display.php
- > /wp-content/plugins/wdv-add-services-events-rooms/public/partials/wdv-add-services-events-rooms-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #7, #8, #9 in wdv-add-services-events-rooms/assets to your readme.txt
wdv-add-services-events-rooms/wdv-add-services-events-rooms.php 92% from 13 tests
"WDV - Add Services, Events, Rooms" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected16,989 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,882 |
CSS | 16 | 3,512 | 68 | 7,777 |
PHP | 12 | 131 | 551 | 322 |
JavaScript | 2 | 4 | 54 | 6 |
Markdown | 1 | 0 | 0 | 2 |
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.06 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 7 | 25.00% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 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
There were not PNG files found in your plugin