Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼291.75ms] Passed 4 tests
Server-side resources used by GamiPress - Jetpack integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 53.13 ▼1.96 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.69 ▲0.27 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.39 ▼0.11 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 92.58 ▼1,163.63 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.03 ▼1.28 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for GamiPress - Jetpack integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲38 | 15.94 ▲0.31 | 6.18 ▲0.30 | 2.41 ▼0.26 |
Dashboard /wp-admin | 2,913 ▲55 | 6.05 ▼0.13 | 120.22 ▼12.16 | 153.98 ▼6.45 |
Posts /wp-admin/edit.php | 2,722 ▲35 | 3.25 ▲0.01 | 65.04 ▲1.52 | 139.89 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,687 ▼13 | 18.71 ▼2.53 | 423.48 ▼24.02 | 158.46 ▼1.28 |
Media Library /wp-admin/upload.php | 1,726 ▲28 | 5.53 ▲0.03 | 141.98 ▼16.13 | 186.31 ▼4.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-jetpack-integration/gamipress-jetpack-integration.php:237
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 22 tag instead of maximum 10
gamipress-jetpack-integration/gamipress-jetpack-integration.php Passed 13 tests
"GamiPress - Jetpack integration" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
31 characters long description:
Connect GamiPress with Jetpack.
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 plugin152 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 74 | 167 | 152 |
PHP code Passed 2 tests
A short review 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.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 | 7 | |
▷ Named functions | 7 | 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