Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼286.88ms] Passed 4 tests
Analyzing server-side resources used by FormsCRM
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.11 | 54.75 ▼4.20 |
Dashboard /wp-admin | 3.46 ▲0.05 | 40.12 ▲6.93 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 39.98 ▲1.26 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 92.00 ▼1,149.58 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 31.07 ▲5.01 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by FormsCRM
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲47 | 15.22 ▼0.41 | 5.60 ▼0.60 | 2.56 ▲0.07 |
Dashboard /wp-admin | 2,898 ▲44 | 6.08 ▼0.12 | 117.65 ▼15.48 | 153.15 ▼39.93 |
Posts /wp-admin/edit.php | 2,708 ▲20 | 3.25 ▲0.00 | 63.49 ▼1.30 | 141.27 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,711 ▼41 | 22.39 ▲0.57 | 427.51 ▼29.31 | 172.52 ▲11.54 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 5.51 ▼0.02 | 170.03 ▲15.70 | 191.60 ▲3.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% 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 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/formscrm/formscrm.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/formscrm/includes/class-gravityforms.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in formscrm/assets to your readme.txt
formscrm/formscrm.php 92% from 13 tests
"FormsCRM" version 3.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,472 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 209 | 443 | 1,472 |
PHP code Passed 2 tests
A short review of 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.40 |
Average class complexity | 25.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
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 | 4 | 8.33% |
▷ Public methods | 35 | 72.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 27.08% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected