Benchmarks
Plugin footprint 65% 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.21MB] [CPU: ▼2.06ms] Passed 4 tests
An overview of server-side resources used by Spark GF Failed Submissions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 40.92 ▲5.92 |
Dashboard /wp-admin | 3.52 ▲0.21 | 43.98 ▼11.33 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 55.68 ▲7.89 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.84 ▼2.37 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.77 ▼0.47 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 26 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_spark_gf_failed_submissions |
wp_spark_gf_failed_submissions_fields |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
spark_gf_failed_submissions_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Spark GF Failed Submissions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼1.11 | 1.85 ▲0.17 | 41.30 ▼0.36 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.99 | 113.57 ▲2.74 | 46.66 ▼2.15 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.04 | 40.28 ▲1.14 | 37.11 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,537 ▼7 | 23.15 ▲4.74 | 592.12 ▼91.81 | 50.33 ▼1.00 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.26 ▲0.06 | 107.44 ▼1.59 | 46.55 ▼4.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_spark_gf_failed_submissions_fields
- wp_spark_gf_failed_submissions
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- spark_gf_failed_submissions_version
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/spark-gf-failed-submissions/public/partials/spark-gf-failed-submissions-public-display.php
- > /wp-content/plugins/spark-gf-failed-submissions/admin/partials/spark-gf-failed-submissions-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: validation, logging, failed submissions, forms, gravity forms...
spark-gf-failed-submissions/spark-gf-failed-submissions.php Passed 13 tests
The main file in "Spark GF Failed Submissions" v. 1.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
112 characters long description:
Track failed form submissions and get notified when they reach a customisable threshold. Requires Gravity Forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,201 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 164 | 672 | 1,195 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 15 | 22.73% |
▷ Public methods | 42 | 63.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 36.36% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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