Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼293.10ms] Passed 4 tests
Server-side resources used by Extend GamiPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 52.15 ▼1.66 |
Dashboard /wp-admin | 3.46 ▲0.05 | 33.94 ▲0.10 |
Posts /wp-admin/edit.php | 3.69 ▲0.04 | 37.85 ▲0.28 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 92.95 ▼1,170.73 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 24.92 ▼0.10 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Extend GamiPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲21 | 15.88 ▲0.28 | 5.48 ▼0.97 | 2.20 ▼0.03 |
Dashboard /wp-admin | 2,888 ▲34 | 6.12 ▼0.07 | 125.08 ▼11.46 | 154.64 ▼4.29 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.23 ▲0.01 | 62.10 ▼2.67 | 138.69 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,711 ▼48 | 21.33 ▼0.54 | 446.18 ▲12.66 | 157.56 ▼11.66 |
Media Library /wp-admin/upload.php | 1,689 ▼9 | 5.49 ▼0.05 | 148.21 ▲0.56 | 188.22 ▲0.32 |
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 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function ExtendGamiPress\\add_filter() in wp-content/plugins/extend-gamipress/extend-gamipress.php:55
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: point, gamipress, system, gamification, hooks...
extend-gamipress/extend-gamipress.php Passed 13 tests
The main PHP script in "Extend GamiPress" version 1.0.0 is automatically included on every request by WordPress
39 characters long description:
Add WordPress System Hooks to GamiPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin147 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 48 | 147 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 files were detected