Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼135.39ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms all_fields plain
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 27.82 ▲5.03 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.89 ▲2.10 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.00 ▼0.90 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 92.51 ▼542.41 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 31.40 ▼0.36 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms all_fields plain
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.81 ▲0.26 | 10.14 ▼0.93 | 43.79 ▼11.78 |
Dashboard /wp-admin | 2,970 ▲37 | 5.92 ▼0.07 | 134.21 ▼28.66 | 111.68 ▼3.20 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.84 ▼0.01 | 61.95 ▼4.56 | 92.24 ▲7.52 |
Add New Post /wp-admin/post-new.php | 1,872 ▲189 | 19.22 ▲0.66 | 384.27 ▼2.34 | 114.40 ▼11.21 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.03 ▲0.01 | 154.28 ▲8.92 | 123.56 ▲5.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gravity-all-fields-plain/gravity-all-fields-plain.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: gravityforms, fields, placeholder, plain, html...
gravity-all-fields-plain/gravity-all-fields-plain.php Passed 13 tests
The main PHP file in "Gravity Forms all_fields plain" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
83 characters long description:
Use all_fields placeholder in Gravity Forms notification template but without html.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin48 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 46 | 33 |
Markdown | 1 | 7 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin