Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.90ms] Passed 4 tests
A check of server-side resources used by Sliced Invoices & Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.64 ▼1.16 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.85 ▲0.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.84 ▼16.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.79 ▼17.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.09 ▲5.03 |
Server storage [IO: ▲0.36MB] [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: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Sliced Invoices & Gravity Forms: 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,819 ▲73 | 13.28 ▼1.10 | 1.90 ▲0.05 | 47.33 ▼2.95 |
Dashboard /wp-admin | 2,225 ▲43 | 4.88 ▼1.13 | 118.97 ▼3.60 | 52.33 ▲3.38 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.00 ▼0.05 | 39.54 ▼9.46 | 38.16 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.39 ▲0.07 | 714.72 ▲21.08 | 52.12 ▼14.82 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.24 ▲0.07 | 124.53 ▲5.47 | 53.46 ▲2.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely 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
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in sliced-invoices-gravity-forms/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
sliced-invoices-gravity-forms/sliced-invoices-gravity-forms.php Passed 13 tests
The entry point to "Sliced Invoices & Gravity Forms" version 1.13.1 is a PHP file that has certain tags in its header comment area
127 characters long description:
Create forms that allow users to submit a quote or estimate request. Requirements: The Sliced Invoices Plugin and Gravity Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin664 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 105 | 109 | 633 |
JSON | 1 | 0 | 0 | 17 |
JavaScript | 1 | 5 | 3 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 55.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 7.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin