Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.66ms] Passed 4 tests
This is a short check of server-side resources used by Ninja Forms + Sprout Invoices - Easy Invoice & Estimate Submissions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.62 ▼6.21 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.55 ▼6.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▲0.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.58 ▼13.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.15 ▼0.31 |
Server storage [IO: ▲4.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Ninja Forms + Sprout Invoices - Easy Invoice & Estimate Submissions: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.42 ▼1.21 | 1.64 ▼0.25 | 45.77 ▲2.91 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.94 | 106.54 ▲0.97 | 38.80 ▼3.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.04 | 40.85 ▲6.57 | 35.77 ▲4.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▼11 | 23.16 ▲4.64 | 605.83 ▼31.13 | 54.68 ▲4.33 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.02 | 100.52 ▲2.65 | 44.18 ▼0.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
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 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sprout-invoices-ninja-forms/includes/Templates/custom-meta-repeater-row.html.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Form submission with redirect to newly created estimate), #2 (Complete settings view), #3 (Settings overview)
sprout-invoices-ninja-forms/sprout-invoices-ninja-forms.php 77% from 13 tests
Analyzing the main PHP file in "Ninja Forms + Sprout Invoices - Easy Invoice & Estimate Submissions" version 1.3.1
Please make the necessary changes and fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected656 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 183 | 310 | 645 |
JavaScript | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 27.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.16 |
▷ 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 | 2 | 66.67% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 3 | 12.00% |
▷ Private methods | 1 | 4.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin