Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼1.39ms] 75% from 4 tests
Analyzing server-side resources used by Experience API for GamiPress by Grassblade
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 3,516.13ms on /wp-admin/admin.php?page=grassblade-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 39.71 ▼4.56 |
Dashboard /wp-admin | 3.56 ▲0.26 | 46.67 ▼1.27 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 48.17 ▲2.87 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 96.11 ▼0.79 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 38.55 ▲1.07 |
GrassBlade /wp-admin/admin.php?page=grassblade-lrs-settings | 3.43 | 34.27 |
GrassBlade GamiPress /wp-admin/admin.php?page=grassblade-gamipress | 3.45 | 29.08 |
Add-ons /wp-admin/admin.php?page=grassblade-addons | 3.76 | 3,516.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 9 new options
New WordPress options |
---|
grassblade_gamipress |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
grassblade_addons |
grassblade_free_addons |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Experience API for GamiPress by Grassblade
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲86 | 13.64 ▼0.68 | 1.86 ▼0.14 | 41.68 ▼11.27 |
Dashboard /wp-admin | 2,252 ▲64 | 4.87 ▼0.03 | 103.59 ▼11.17 | 70.54 ▲22.46 |
Posts /wp-admin/edit.php | 2,132 ▲46 | 1.98 ▼0.04 | 39.54 ▲5.22 | 37.43 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 17.69 ▼5.87 | 730.27 ▲62.18 | 55.22 ▼2.20 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.22 ▲0.06 | 100.72 ▼1.92 | 85.70 ▲43.79 |
GrassBlade /wp-admin/admin.php?page=grassblade-lrs-settings | 822 | 2.05 | 26.04 | 26.12 |
GrassBlade GamiPress /wp-admin/admin.php?page=grassblade-gamipress | 840 | 2.02 | 25.28 | 25.85 |
Add-ons /wp-admin/admin.php?page=grassblade-addons | 2,829 | 2.19 | 27.25 | 73.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- grassblade_addons
- theysaidso_admin_options
- grassblade_gamipress
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- grassblade_free_addons
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in grassblade-xapi-gamipress/assets to your readme.txt
grassblade-xapi-gamipress/functions.php 85% from 13 tests
"Experience API for GamiPress by Grassblade" version 1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("grassblade-xapi-gamipress.php" instead of "functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin959 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 248 | 152 | 888 |
JavaScript | 1 | 13 | 10 | 71 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 77.33 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 6.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/no.png | 1.01KB | 0.62KB | ▼ 39.05% |
img/icon_128x128.png | 22.67KB | 6.87KB | ▼ 69.71% |
img/icon_30x30.png | 4.58KB | 1.60KB | ▼ 65.15% |
img/check.png | 0.98KB | 0.47KB | ▼ 52.44% |
img/icon-gb.png | 3.43KB | 0.84KB | ▼ 75.48% |