Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.72ms] Passed 4 tests
A check of server-side resources used by Quick Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.22 ▼1.36 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.28 ▼25.91 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 44.49 ▲2.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.42 ▼5.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.10 ▲7.27 |
All Qlinks /wp-admin/edit.php?post_type=qa_link | 3.34 | 35.35 |
Settings /wp-admin/admin.php?page=quick-admin-settings | 3.29 | 30.09 |
Quick Admin /wp-admin/admin.php?page=quick-admin-links | 3.31 | 30.07 |
Add New /wp-admin/post-new.php?post_type=qa_link | 3.41 | 46.34 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
qa_plugin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Admin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲135 | 14.21 ▼0.51 | 1.81 ▼0.17 | 43.96 ▲0.54 |
Dashboard /wp-admin | 2,299 ▲122 | 5.55 ▲0.02 | 84.57 ▼19.51 | 40.77 ▼2.88 |
Posts /wp-admin/edit.php | 2,174 ▲74 | 2.01 ▲0.00 | 40.73 ▲0.56 | 35.07 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,588 ▲62 | 18.64 ▼4.96 | 660.06 ▲34.51 | 68.71 ▲10.82 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.24 ▲0.04 | 98.79 ▲4.61 | 42.17 ▲0.97 |
All Qlinks /wp-admin/edit.php?post_type=qa_link | 1,138 | 1.95 | 31.44 | 29.75 |
Settings /wp-admin/admin.php?page=quick-admin-settings | 1,097 | 1.94 | 35.45 | 26.79 |
Quick Admin /wp-admin/admin.php?page=quick-admin-links | 1,287 | 2.38 | 62.35 | 34.10 |
Add New /wp-admin/post-new.php?post_type=qa_link | 2,295 | 7.76 | 169.37 | 60.35 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quick-admin/admin/views/admin-right.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/quick-admin/admin/class-quick-admin-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quick-admin/admin/views/admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quick-admin/admin/views/links.php:9
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: adopt-me, dashboard, widget, administration, link...
quick-admin/quick-admin.php Passed 13 tests
The main PHP file in "Quick Admin" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
53 characters long description:
Add Quick Links in your admin dashboard and admin bar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin986 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 274 | 378 | 687 |
JavaScript | 3 | 28 | 92 | 265 |
CSS | 1 | 3 | 1 | 34 |
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.25 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 8 | 21.05% |
▷ Public methods | 30 | 78.95% |
▷ Protected methods | 1 | 2.63% |
▷ Private methods | 7 | 18.42% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin