Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.92MB] [CPU: ▼56.72ms] Passed 4 tests
A check of server-side resources used by Cf7 UI slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.06 ▼37.18 |
Dashboard /wp-admin | 2.08 ▼1.22 | 7.25 ▼43.77 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.33 ▼44.32 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.24 ▼101.59 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.89 ▼32.17 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Cf7 UI slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.57 ▼0.73 | 5.29 ▲3.40 | 43.43 ▲0.34 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▲0.89 | 104.44 ▼14.14 | 38.39 ▼7.21 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.01 ▼0.00 | 34.90 ▼3.53 | 35.15 ▲2.38 |
Add New Post /wp-admin/post-new.php | 1,423 ▼96 | 22.36 ▼0.65 | 578.50 ▼102.88 | 61.47 ▲12.55 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.32 ▲0.00 | 97.59 ▼4.69 | 38.63 ▼7.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'SLIDER_UI_TAG' not found
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- 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
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
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cf7-ui-slider/css/index.php
- > /wp-content/plugins/cf7-ui-slider/cf7-ui-slider.php
- > /wp-content/plugins/cf7-ui-slider/includes/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3 in cf7-ui-slider/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== cf7-ui-slider ===
)
cf7-ui-slider/cf7-ui-slider.php Passed 13 tests
The primary PHP file in "Cf7 UI slider" version 2.5 is used by WordPress to initiate all plugin functionality
59 characters long description:
A simple way to add jQuery UI Slider to your contact form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,950 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 362 | 50 | 1,517 |
PHP | 4 | 102 | 32 | 433 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 19 | |
▷ Static methods | 3 | 15.79% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected