Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.19ms] Passed 4 tests
This is a short check of server-side resources used by GamiPress - BadgeOS Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.48 ▼6.27 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.08 ▼16.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.76 ▼2.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.36 ▼11.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.63 ▲3.17 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by GamiPress - BadgeOS Importer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲45 | 14.39 ▼0.22 | 1.96 ▼0.36 | 40.95 ▼9.18 |
Dashboard /wp-admin | 2,215 ▲38 | 5.64 ▲0.06 | 87.00 ▼7.69 | 47.33 ▲4.02 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.04 ▲0.04 | 37.88 ▲2.77 | 37.72 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.25 ▲0.45 | 664.02 ▼11.93 | 56.03 ▲5.28 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.21 ▼0.07 | 96.52 ▼6.54 | 43.86 ▲0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 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 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 items
- 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-badgeos-importer/gamipress-badgeos-importer.php:198
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
gamipress-badgeos-importer/gamipress-badgeos-importer.php 85% from 13 tests
Analyzing the main PHP file in "GamiPress - BadgeOS Importer" version 1.1.8
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "4.4")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,644 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 510 | 458 | 1,514 |
JavaScript | 2 | 43 | 28 | 130 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 57.14% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin