Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.63ms] Passed 4 tests
A check of server-side resources used by Uqrate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 38.17 ▼2.16 |
Dashboard /wp-admin | 3.51 ▲0.21 | 47.73 ▲0.53 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 50.96 ▼0.01 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 85.86 ▼8.48 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.35 ▲0.15 |
Uqrate /wp-admin/options-general.php?page=uqrate-settings-page | 3.47 | 34.08 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_uqrate_posts_threads |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
uqrate_activated |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
uqrate_created_jt |
Browser metrics Passed 4 tests
A check of browser resources used by Uqrate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 14.48 ▲0.18 | 2.42 ▲0.53 | 38.05 ▼2.50 |
Dashboard /wp-admin | 2,186 ▼3 | 4.85 ▼0.07 | 110.26 ▼5.12 | 41.28 ▲0.38 |
Posts /wp-admin/edit.php | 2,075 ▼14 | 2.02 ▼0.01 | 39.94 ▼0.86 | 34.16 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,346 ▼168 | 17.12 ▼0.39 | 541.75 ▼146.47 | 59.08 ▲10.71 |
Media Library /wp-admin/upload.php | 1,377 ▼11 | 4.19 ▼0.05 | 104.08 ▼8.22 | 43.56 ▼7.74 |
Uqrate /wp-admin/options-general.php?page=uqrate-settings-page | 1,054 | 2.03 | 27.23 | 67.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_uqrate_posts_threads
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- uqrate_activated
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- uqrate_created_jt
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% 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 fix the following
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/uqrate/uqrate.php
- > /wp-content/plugins/uqrate/class.core.php
- > /wp-content/plugins/uqrate/class.admin.php
- > /wp-content/plugins/uqrate/views/admin.php
- > /wp-content/plugins/uqrate/class.page.php
- > /wp-content/plugins/uqrate/uninstall.php
- > /wp-content/plugins/uqrate/class.sync.php
- > /wp-content/plugins/uqrate/class.post.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: type in wp-content/plugins/uqrate/views/admin.php on line 2
- > PHP Notice
Undefined variable: type in wp-content/plugins/uqrate/views/admin.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Uqrate' not found in wp-content/plugins/uqrate/views/comments.php:3
- > PHP Notice
Undefined variable: type in wp-content/plugins/uqrate/views/admin.php on line 53
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
uqrate/uqrate.php Passed 13 tests
The primary PHP file in "Uqrate" version 1.0.0 is used by WordPress to initiate all plugin functionality
70 characters long description:
Member-curated comments, paid subscriptions and broadcasting services.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,649 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 0 | 180 | 1,467 |
CSS | 4 | 19 | 16 | 102 |
JavaScript | 2 | 7 | 11 | 80 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 34.20 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 66 | 100.00% |
▷ Public methods | 27 | 40.91% |
▷ Protected methods | 22 | 33.33% |
▷ Private methods | 17 | 25.76% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin