Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.49MB] [CPU: ▲0.71ms] Passed 4 tests
Server-side resources used by WP Proposals
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 44.44 ▲1.53 |
Dashboard /wp-admin | 3.83 ▲0.53 | 51.41 ▲2.64 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 54.51 ▲5.70 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.55 | 90.32 ▼3.41 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 39.61 ▲2.07 |
Create Proposal /wp-admin/post-new.php?post_type=proposal | 3.80 | 58.82 |
All Proposals /wp-admin/edit.php?post_type=proposal | 3.75 | 50.91 |
General Settings /wp-admin/edit.php?post_type=proposal&page=wpp-settings | 3.72 | 42.50 |
Clients /wp-admin/edit-tags.php?taxonomy=clients&post_type=proposal | 3.69 | 38.08 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Proposals: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,012 ▲251 | 14.85 ▲0.58 | 1.67 ▼0.49 | 40.64 ▼7.12 |
Dashboard /wp-admin | 2,408 ▲234 | 6.36 ▲0.69 | 108.85 ▲1.65 | 41.11 ▼6.55 |
Posts /wp-admin/edit.php | 2,344 ▲244 | 3.55 ▲1.59 | 50.59 ▲7.71 | 34.67 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,593 ▲58 | 23.32 ▲5.07 | 597.74 ▼16.73 | 31.96 ▼57.09 |
Media Library /wp-admin/upload.php | 1,479 ▲82 | 4.36 ▲0.17 | 82.59 ▼21.08 | 42.72 ▼0.81 |
Create Proposal /wp-admin/post-new.php?post_type=proposal | 2,919 | 7.43 | 181.00 | 80.25 |
All Proposals /wp-admin/edit.php?post_type=proposal | 1,328 | 3.48 | 61.40 | 32.53 |
General Settings /wp-admin/edit.php?post_type=proposal&page=wpp-settings | 2,421 | 10.62 | 202.50 | 144.25 |
Clients /wp-admin/edit-tags.php?taxonomy=clients&post_type=proposal | 1,608 | 3.31 | 48.41 | 28.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-proposals/wp-proposals.php
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-proposals/include/signature-form.php:106
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/admin/meta/send-proposal-metabox.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/admin/meta/recommendation-metabox.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/admin/taxonomies/client-taxonomies.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-proposals/include/templates/template-functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/admin/settings/general.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/styling/wpp-dynamic-css.php:202
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-proposals/admin/settings/settings-main.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-proposals/admin/settings/design.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-proposals/admin/meta/meta-functions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: proposals, proposal, client, invoices
wp-proposals/wp-proposals.php Passed 13 tests
The main PHP script in "WP Proposals" version 2.3 is automatically included on every request by WordPress
101 characters long description:
Beautiful, simple free WordPress proposal software. Transform your sales team into a closing machine.
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
Success! There were no dangerous files found in this plugin3,581 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 493 | 229 | 2,334 |
CSS | 3 | 12 | 12 | 1,242 |
JavaScript | 1 | 3 | 2 | 5 |
PHP code Passed 2 tests
A short 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.32 |
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 | 73 | |
▷ Named functions | 73 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/settings/assets/invoice.png | 2.02KB | 1.27KB | ▼ 37.01% |