Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼298.47ms] Passed 4 tests
Analyzing server-side resources used by GamiPress - Elementor integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.41 | 83.62 ▲54.61 |
Dashboard /wp-admin | 3.41 ▲0.01 | 35.36 ▲1.59 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 39.77 ▼47.37 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 154.13 ▼1,146.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 27.03 ▼1.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by GamiPress - Elementor integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲55 | 15.85 ▲0.17 | 14.47 ▲7.09 | 2.85 ▲0.22 |
Dashboard /wp-admin | 2,903 ▲45 | 6.13 ▼0.02 | 127.19 ▼21.38 | 154.91 ▼13.64 |
Posts /wp-admin/edit.php | 2,719 ▲31 | 3.25 ▲0.01 | 65.37 ▲2.10 | 145.34 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,726 ▲15 | 21.17 ▲0.54 | 479.21 ▲17.02 | 188.79 ▲30.10 |
Media Library /wp-admin/upload.php | 1,729 ▲34 | 5.52 ▲0.02 | 145.92 ▲0.07 | 234.73 ▲40.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
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_action() in wp-content/plugins/gamipress-elementor-forms-integration/gamipress-elementor-forms.php:225
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
gamipress-elementor-forms-integration/gamipress-elementor-forms.php 92% from 13 tests
The main file in "GamiPress - Elementor integration" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("gamipress-elementor-forms-integration.php" instead of "gamipress-elementor-forms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin496 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 175 | 402 | 413 |
JavaScript | 2 | 15 | 4 | 57 |
CSS | 2 | 5 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.56 |
▷ 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 | 21 | |
▷ Named functions | 21 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin