Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼307.58ms] Passed 4 tests
A check of server-side resources used by GamiPress - Simple:Press integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 51.85 ▼4.34 |
Dashboard /wp-admin | 3.43 ▲0.03 | 35.02 ▲0.79 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 82.80 ▲44.62 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.71 ▼1,221.16 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 25.88 ▼5.59 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for GamiPress - Simple:Press integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲69 | 15.98 ▲0.31 | 5.83 ▼0.58 | 2.29 ▼0.93 |
Dashboard /wp-admin | 2,923 ▲62 | 6.16 ▼0.02 | 117.99 ▼16.02 | 165.98 ▼1.71 |
Posts /wp-admin/edit.php | 2,719 ▲34 | 3.24 ▲0.01 | 64.66 ▲0.35 | 150.48 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,767 ▲101 | 20.94 ▲0.55 | 475.74 ▲39.79 | 175.78 ▲4.59 |
Media Library /wp-admin/upload.php | 1,726 ▲28 | 5.52 ▲0.00 | 159.13 ▲6.34 | 224.54 ▲18.76 |
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 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 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-simplepress-integration/gamipress-simplepress.php:239
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
gamipress-simplepress-integration/gamipress-simplepress.php 92% from 13 tests
Analyzing the main PHP file in "GamiPress - Simple:Press integration" version 1.0.1
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gamipress-simplepress-integration.php" instead of "gamipress-simplepress.php")
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
Everything looks great! No dangerous files found in this plugin310 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 136 | 281 | 310 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin