Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.77ms] Passed 4 tests
This is a short check of server-side resources used by No Active for GravityForms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.92 ▲0.21 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.41 ▼3.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.46 ▲2.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.15 ▼10.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.80 ▼0.83 |
No Active for GForms /wp-admin/options-general.php?page=noactive-for-gravityforms/includes/admin/options.php | 3.21 | 30.51 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by No Active for GravityForms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.36 ▼0.05 | 1.79 ▲0.15 | 44.30 ▼2.72 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.04 | 81.77 ▼12.54 | 38.79 ▼2.44 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.06 | 36.91 ▼5.31 | 32.52 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.45 ▲5.28 | 598.93 ▼39.69 | 48.68 ▼23.38 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.20 ▲0.02 | 98.14 ▼2.31 | 40.89 ▼2.68 |
No Active for GForms /wp-admin/options-general.php?page=noactive-for-gravityforms/includes/admin/options.php | 810 | 2.00 | 25.28 | 24.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function NoActiveGF_Get_Options() in wp-content/plugins/noactive-for-gravityforms/includes/admin/options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/noactive-for-gravityforms/noactive-for-gravityforms.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/noactive-for-gravityforms/includes/admin/admin.php:22
- > 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 93% 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:
- Donate link: Please fix this invalid url: "wpgear.xyz/noactive-for-gravityforms"
noactive-for-gravityforms/noactive-for-gravityforms.php 92% from 13 tests
The main PHP script in "No Active for GravityForms" version 1.1 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected138 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 37 | 45 | 124 |
CSS | 2 | 2 | 10 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 5 | |
▷ Named functions | 5 | 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
1 PNG file occupies 0.39MB with 0.27MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-1544x500.png | 395.65KB | 121.64KB | ▼ 69.26% |