Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼185.24ms] Passed 4 tests
This is a short check of server-side resources used by GamiPress - Awesome Support integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 29.68 ▲11.02 |
Dashboard /wp-admin | 3.06 ▼0.00 | 30.15 ▼6.20 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 32.18 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 69.33 ▼736.17 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 21.78 ▼0.04 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for GamiPress - Awesome Support integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,695 ▲68 | 15.95 ▼0.03 | 5.03 ▼2.06 | 75.81 ▼1.18 |
Dashboard /wp-admin | 2,958 ▲62 | 6.13 ▼0.04 | 121.34 ▼11.62 | 182.18 ▲8.80 |
Posts /wp-admin/edit.php | 2,770 ▲27 | 3.24 ▲0.00 | 63.90 ▼2.54 | 135.43 ▼4.51 |
Add New Post /wp-admin/post-new.php | 3,822 ▲171 | 19.06 ▲0.55 | 431.68 ▼35.31 | 158.81 ▼21.62 |
Media Library /wp-admin/upload.php | 1,780 ▲28 | 5.49 ▼0.03 | 140.08 ▼8.04 | 184.85 ▼6.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-awesome-support-integration/gamipress-awesome-support.php:189
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
gamipress-awesome-support-integration/gamipress-awesome-support.php 92% from 13 tests
"GamiPress - Awesome Support integration" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gamipress-awesome-support-integration.php" instead of "gamipress-awesome-support.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin172 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 75 | 194 | 172 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 57.14% |
Functions | 9 | |
▷ Named functions | 9 | 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
No PNG files were detected