Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼286.73ms] Passed 4 tests
A check of server-side resources used by GamiPress - Caldera Forms integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 161.24 ▲107.58 |
Dashboard /wp-admin | 3.43 ▲0.03 | 43.32 ▲10.12 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 44.89 ▲5.24 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.06 | 94.62 ▼1,163.28 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 24.77 ▲1.01 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
GamiPress - Caldera Forms integration: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲38 | 16.22 ▲0.59 | 5.72 ▼0.48 | 2.21 ▼0.26 |
Dashboard /wp-admin | 2,923 ▲72 | 6.16 ▼0.02 | 116.31 ▼30.45 | 151.83 ▼8.42 |
Posts /wp-admin/edit.php | 2,719 ▲28 | 3.24 ▲0.22 | 66.08 ▲2.10 | 140.39 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,726 ▲54 | 16.54 ▼5.53 | 436.22 ▼0.63 | 158.14 ▼4.02 |
Media Library /wp-admin/upload.php | 1,726 ▲28 | 5.52 ▼0.01 | 145.68 ▼0.28 | 182.55 ▼5.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-caldera-forms-integration/gamipress-caldera-forms.php:240
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
gamipress-caldera-forms-integration/gamipress-caldera-forms.php 92% from 13 tests
The main PHP script in "GamiPress - Caldera Forms integration" version 1.0.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gamipress-caldera-forms-integration.php" instead of "gamipress-caldera-forms.php")
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
There were no executable files found in this plugin381 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 130 | 311 | 324 |
JavaScript | 2 | 17 | 4 | 57 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin