Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.92ms] Passed 4 tests
A check of server-side resources used by Plugin Name: oQey Add-ons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 39.02 ▼7.96 |
Dashboard /wp-admin | 3.39 ▲0.08 | 45.28 ▼5.57 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.96 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.49 ▼13.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.84 ▼8.90 |
Watermark /wp-admin/admin.php?page=oQeyWatermark | 3.28 | 28.85 |
Roles /wp-admin/admin.php?page=oQeyCropperRoles | 3.28 | 31.57 |
oQey Add-ons /wp-admin/admin.php?page=oqey-add-ons | 3.24 | 30.41 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- There were 1 file (9.30KB) illegally modified outside of "wp-content/plugins/oqey-add-ons/" and "wp-content/uploads/"
- (new file) wp-content/oqey_gallery/watermark/watermark.png
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
oqey_addons_watermark_settings |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Name: oQey Add-ons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 14.74 ▲0.37 | 1.65 ▼0.32 | 40.04 ▼8.05 |
Dashboard /wp-admin | 2,238 ▲50 | 5.86 ▼0.07 | 109.70 ▼7.17 | 78.24 ▲27.97 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.02 ▲0.02 | 38.09 ▲2.76 | 38.70 ▲5.77 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.38 ▲0.18 | 782.80 ▲90.91 | 51.55 ▼1.70 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.25 ▲0.02 | 99.48 ▼1.10 | 79.40 ▲32.51 |
Watermark /wp-admin/admin.php?page=oQeyWatermark | 729 | 1.53 | 8.05 | 17.94 |
Roles /wp-admin/admin.php?page=oQeyCropperRoles | 891 | 2.19 | 24.60 | 25.62 |
oQey Add-ons /wp-admin/admin.php?page=oqey-add-ons | 751 | 1.14 | 7.18 | 17.29 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- oqey_addons_watermark_settings
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=oQeyWatermark
- > Error in wp-content/plugins/oqey-add-ons/oqeywatermark.php+31
Uncaught Error: Call to undefined function oQeyPluginUrl() in wp-content/plugins/oqey-add-ons/oqeywatermark.php:31
Stack trace:
#0 wp-content/plugins/oqey-add-ons/addonscore.php(18): include()
#1 wp-includes/class-wp-hook.php(310): oqey_addons_watermark_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown- > GET request to /wp-admin/admin.php?page=oqey-add-ons
- > Error in wp-content/plugins/oqey-add-ons/addonscore.php+47
Uncaught Error: Call to undefined function oQeyPluginUrl() in wp-content/plugins/oqey-add-ons/addonscore.php:47
Stack trace:
#0 wp-includes/class-wp-hook.php(310): oqey_addons_top_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
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
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/oqey-add-ons/manageroles.php
- > /wp-content/plugins/oqey-add-ons/oqeywatermark.php
- > /wp-content/plugins/oqey-add-ons/updatelogo.php
- > /wp-content/plugins/oqey-add-ons/oqey-addons-functions.php
- > /wp-content/plugins/oqey-add-ons/oqeyaddons.php
- > /wp-content/plugins/oqey-add-ons/addonscore.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=oqey-add-ons
- > Network (severe)
wp-content/plugins/oqey-gallery/images/oqeybanner.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: oQey Add-ons===
)
oqey-add-ons/oqeyaddons.php 92% from 13 tests
The main PHP file in "Plugin Name: oQey Add-ons" ver. 0.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("oqey-add-ons.php" instead of "oqeyaddons.php")
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
Good job! No executable or dangerous file extensions detected633 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 152 | 34 | 524 |
CSS | 2 | 23 | 43 | 109 |
PHP code Passed 2 tests
This is a very shot review of 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.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/oqeycropper.png | 0.70KB | 0.72KB | 0.00% |
watermark.png | 9.30KB | 4.96KB | ▼ 46.70% |
images/cropperbutton.png | 0.27KB | 0.24KB | ▼ 11.31% |