Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.33ms] Passed 4 tests
An overview of server-side resources used by Advanced Custom Fields: Ninjaforms Add-on
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.34 ▼4.13 |
Dashboard /wp-admin | 3.38 ▲0.03 | 42.11 ▼18.67 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.74 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 77.98 ▼15.77 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.42 ▲1.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
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_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Custom Fields: Ninjaforms Add-on
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.26 ▼1.12 | 1.54 ▼0.02 | 39.03 ▼2.02 |
Dashboard /wp-admin | 2,222 ▲31 | 5.90 ▲1.00 | 108.92 ▲5.61 | 43.09 ▼0.75 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▲0.00 | 38.54 ▲0.79 | 36.48 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 22.84 ▲5.47 | 682.12 ▼23.20 | 58.94 ▲4.33 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▲0.00 | 97.07 ▼5.81 | 40.64 ▼11.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-ninjaforms-add-on/resources/FieldForV4.php:8
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-ninjaforms-add-on/resources/Field.php:8
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: ninja form, advanced custom fields, forms, form, ninja forms...
acf-ninjaforms-add-on/acf-ninjaforms-add-on.php Passed 13 tests
This is the main PHP file of "Advanced Custom Fields: Ninjaforms Add-on" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Advanced Custom Field with which we can select Ninjaforms.
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 plugin742 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 160 | 325 | 697 |
PO File | 1 | 6 | 6 | 45 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 3 | 6.25% |
▷ Public methods | 45 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.25% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 5 | |
▷ Global constants | 5 | 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