Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/convertable-contact-form-builder-analytics-and-lead-management-dashboard/convertable-wp.php+1467
syntax error, unexpected 'endif' (T_ENDIF)
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.86ms] Passed 4 tests
Analyzing server-side resources used by Convertable Contact Form Builder Analytics and Lead Management Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.55 ▼2.59 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.08 ▼3.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.63 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.86 ▼3.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.85 ▼2.08 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Convertable Contact Form Builder Analytics and Lead Management Dashboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.44 ▲0.13 | 1.76 ▼0.09 | 40.88 ▼4.86 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲0.03 | 98.45 ▼11.56 | 37.55 ▼5.64 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.08 | 41.07 ▲2.61 | 35.76 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.28 ▲0.10 | 629.97 ▼17.43 | 61.49 ▼12.92 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.05 | 99.26 ▼1.06 | 45.43 ▲3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/convertable-contact-form-builder-analytics-and-lead-management-dashboard/views/footer.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/convertable-contact-form-builder-analytics-and-lead-management-dashboard/views/header.php:3
- > PHP Parse error
syntax error, unexpected 'endif' (T_ENDIF) in wp-content/plugins/convertable-contact-form-builder-analytics-and-lead-management-dashboard/convertable-wp.php on line 1467
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Customize your form with the form builder) image not found
- Tags: There are too many tags (70 tag instead of maximum 10)
convertable-contact-form-builder-analytics-and-lead-management-dashboard/convertable-wp.php 92% from 13 tests
The main PHP script in "Convertable Contact Form Builder Analytics and Lead Management Dashboard" version 1.4 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convertable-contact-form-builder-analytics-and-lead-management-dashboard.php" instead of "convertable-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,602 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 177 | 220 | 1,770 |
JavaScript | 1 | 13 | 64 | 462 |
CSS | 3 | 24 | 1 | 353 |
PO File | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 74.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 54 | |
▷ Static methods | 3 | 5.56% |
▷ Public methods | 46 | 85.19% |
▷ Protected methods | 8 | 14.81% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
28 PNG files occupy 1.05MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/screenshot-2.png | 92.71KB | 36.98KB | ▼ 60.11% |
assets/images/icon-convertable.png | 1.31KB | 1.24KB | ▼ 5.60% |
assets/images/screenshot-3.png | 149.97KB | 59.54KB | ▼ 60.30% |
wp-step6.png | 13.35KB | 6.57KB | ▼ 50.80% |
assets/screenshot-4.png | 129.66KB | 52.45KB | ▼ 59.55% |