Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.12ms] Passed 4 tests
A check of server-side resources used by Sliced Invoices & Formidable Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 35.37 ▼4.57 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.90 ▼0.10 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.93 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.99 ▲0.87 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 33.05 ▼1.51 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_siff_settings |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Sliced Invoices & Formidable Forms: 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 / | 2,807 ▲46 | 14.35 ▲0.03 | 1.56 ▼0.18 | 36.66 ▼11.77 |
Dashboard /wp-admin | 2,210 ▲36 | 5.53 ▼0.13 | 85.26 ▼4.33 | 41.45 ▼0.76 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.15 ▲0.19 | 36.01 ▲0.11 | 33.40 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.24 ▼0.51 | 603.20 ▼93.43 | 49.59 ▼3.50 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.18 ▲0.03 | 97.25 ▼2.24 | 44.72 ▼0.26 |
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
- The uninstall procedure failed, leaving 1 table in the database
- wp_siff_settings
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/sliced-invoices-formidable-forms/includes/sliced-invoices-ff-settings.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
sliced-invoices-formidable-forms/sliced-invoices-formidable-forms.php Passed 13 tests
This is the main PHP file of "Sliced Invoices & Formidable Forms" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
130 characters long description:
Create forms that allow users to submit a quote or estimate request. Requirements: The Sliced Invoices Plugin and Formidable Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,020 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 139 | 65 | 837 |
CSS | 1 | 1 | 8 | 92 |
JavaScript | 1 | 8 | 0 | 91 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.77 |
Average class complexity | 61.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 7.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 7 | 38.89% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.30MB with 0.12MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/screenshot-3.png | 113.90KB | 31.08KB | ▼ 72.71% |
screenshots/screenshot-2.png | 42.38KB | 38.44KB | ▼ 9.29% |
screenshots/screenshot-4.png | 41.88KB | 39.67KB | ▼ 5.28% |
screenshots/screenshot-1.png | 110.40KB | 30.44KB | ▼ 72.43% |