Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.78ms] Passed 4 tests
Server-side resources used by Clear Debug.log Cron
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.37 ▲12.62 |
Dashboard /wp-admin | 3.08 ▲0.02 | 44.91 ▲2.58 |
Posts /wp-admin/edit.php | 3.13 ▲0.01 | 41.94 ▼9.13 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 87.02 ▼573.96 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 25.23 ▼6.62 |
Reset GF Views /wp-admin/options-general.php?page=wh_gf_views_cron_settings | 2.99 | 26.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wh_gf_views_cron_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Clear Debug.log Cron
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲71 | 15.87 ▼0.19 | 8.78 ▲0.21 | 50.79 ▲7.26 |
Dashboard /wp-admin | 2,972 ▲38 | 5.96 ▲0.01 | 132.01 ▼20.38 | 104.77 ▼9.87 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 64.31 ▼0.16 | 93.53 ▲7.75 |
Add New Post /wp-admin/post-new.php | 1,675 ▲3 | 18.84 ▼0.02 | 359.26 ▼10.41 | 113.48 ▼1.63 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.01 ▼0.03 | 144.15 ▼15.31 | 125.50 ▲1.26 |
Reset GF Views /wp-admin/options-general.php?page=wh_gf_views_cron_settings | 1,076 | 2.06 | 53.90 | 81.62 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- wh_gf_views_cron_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reset-gravity-forms-views/reset-gravity-forms-views.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: Plugin contributors field is missing
reset-gravity-forms-views/reset-gravity-forms-views.php Passed 13 tests
The main PHP script in "Clear Debug.log Cron" version 1.1 is automatically included on every request by WordPress
62 characters long description:
Reset Gravity Forms Views hourly, twicedaily, daily or weekly
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 plugin121 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 27 | 121 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
No PNG files were detected