Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.71ms] Passed 4 tests
Analyzing server-side resources used by WP Activity Log for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.99 ▲3.05 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.78 ▲7.62 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.53 ▲4.97 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.09 ▼14.30 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.64 ▲3.45 |
Server storage [IO: ▲0.15MB] [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 |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP Activity Log for Gravity Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼1.36 | 1.91 ▲0.29 | 43.96 ▲8.04 |
Dashboard /wp-admin | 2,234 ▲48 | 4.89 ▼0.05 | 111.43 ▼4.75 | 46.03 ▲6.17 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.05 ▼0.01 | 36.83 ▼2.78 | 34.78 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 22.87 ▼0.34 | 660.73 ▲32.27 | 50.30 ▼0.60 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.28 ▲0.05 | 100.69 ▲1.53 | 43.44 ▲2.20 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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
Good news, no errors were detected
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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/activity-log-gravity-forms/activity-log-gravity-forms.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/activity-log-gravity-forms/wp-security-audit-log/custom-alerts.php:13
- > PHP Fatal error
Uncaught Error: Class 'WSAL_AbstractSensor' not found in wp-content/plugins/activity-log-gravity-forms/wp-security-audit-log/custom-sensors/WSAL_Sensors_Gravity_Forms.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/activity-log-gravity-forms/includes/wsal-functions.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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 to be fixed:
- Screenshots: A description for screenshot #2 is required in activity-log-gravity-forms/assets to your readme.txt
activity-log-gravity-forms/activity-log-gravity-forms.php 92% from 13 tests
"WP Activity Log for Gravity Forms" version 1.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected3,093 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 507 | 872 | 3,021 |
JavaScript | 1 | 3 | 2 | 72 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 212.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 28 | 37.84% |
▷ Public methods | 69 | 93.24% |
▷ Protected methods | 1 | 1.35% |
▷ Private methods | 4 | 5.41% |
Functions | 15 | |
▷ Named functions | 9 | 60.00% |
▷ Anonymous functions | 6 | 40.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin