Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼310.64ms] Passed 4 tests
Analyzing server-side resources used by GamiPress - WP-Polls integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.45 | 58.22 ▲39.48 |
Dashboard /wp-admin | 3.43 ▲0.03 | 31.87 ▼2.72 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 35.87 ▼0.57 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 89.65 ▼1,236.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 25.38 ▼2.90 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for GamiPress - WP-Polls integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲71 | 16.01 ▲0.02 | 6.82 ▲1.29 | 3.34 ▲1.02 |
Dashboard /wp-admin | 2,923 ▲65 | 6.16 ▼0.04 | 120.32 ▼9.98 | 154.55 ▼5.77 |
Posts /wp-admin/edit.php | 2,719 ▲28 | 3.25 ▲0.01 | 61.50 ▼1.10 | 139.89 ▼6.41 |
Add New Post /wp-admin/post-new.php | 1,681 ▲20 | 20.54 ▼1.24 | 417.45 ▲14.02 | 157.36 ▲7.77 |
Media Library /wp-admin/upload.php | 1,723 ▲25 | 5.55 ▲0.00 | 142.79 ▲8.55 | 188.64 ▲7.11 |
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
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 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-wp-polls-integration/gamipress-wp-polls-integration.php:238
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 17 tag instead of maximum 10
gamipress-wp-polls-integration/gamipress-wp-polls-integration.php Passed 13 tests
The principal PHP file in "GamiPress - WP-Polls integration" v. 1.0.0 is loaded by WordPress automatically on each request
32 characters long description:
Connect GamiPress with WP-Polls.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin204 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 99 | 216 | 204 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin