Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼144.07ms] Passed 4 tests
This is a short check of server-side resources used by GamiPress - Give integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 33.33 ▼0.52 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.03 ▼2.58 |
Posts /wp-admin/edit.php | 3.14 ▲0.02 | 43.65 ▼6.12 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.03 ▼558.13 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 30.98 ▼9.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for GamiPress - Give integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲104 | 15.89 ▲0.02 | 8.52 ▼2.72 | 45.42 ▼0.41 |
Dashboard /wp-admin | 2,998 ▲67 | 5.96 ▼0.06 | 163.32 ▲12.23 | 107.80 ▼6.12 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.72 ▲0.02 | 69.43 ▼18.51 | 89.76 ▲5.18 |
Add New Post /wp-admin/post-new.php | 1,687 ▲4 | 18.82 ▲0.07 | 395.81 ▼2.48 | 106.11 ▲0.06 |
Media Library /wp-admin/upload.php | 1,836 ▲26 | 5.03 ▼0.00 | 160.98 ▲2.63 | 115.01 ▼3.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely 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)
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-give-integration/gamipress-give-integration.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
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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:
- Tags: You are using too many tags: 17 tag instead of maximum 10
gamipress-give-integration/gamipress-give-integration.php Passed 13 tests
The principal PHP file in "GamiPress - Give integration" v. 1.0.0 is loaded by WordPress automatically on each request
28 characters long description:
Connect GamiPress with Give.
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
No dangerous file extensions were detected270 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 115 | 296 | 244 |
JavaScript | 2 | 12 | 4 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin