Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.92ms] Passed 4 tests
Analyzing server-side resources used by Webseo Admin Theme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 41.66 ▲0.12 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.32 ▼3.92 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.29 ▲4.67 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 96.42 ▼4.26 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 33.91 ▲4.37 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Webseo Admin Theme
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,766 ▲31 | 14.39 ▲0.08 | 1.78 ▼0.10 | 38.34 ▼2.73 |
Dashboard /wp-admin | 2,155 ▼33 | 5.63 ▲0.70 | 89.51 ▼27.21 | 31.74 ▼12.21 |
Posts /wp-admin/edit.php | 2,085 ▼7 | 2.02 ▲0.06 | 39.45 ▼0.60 | 33.10 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,528 ▲8 | 23.50 ▲0.44 | 636.91 ▼1.64 | 58.37 ▲2.22 |
Media Library /wp-admin/upload.php | 1,376 ▼9 | 4.22 ▼0.02 | 99.01 ▼1.77 | 39.24 ▼4.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webseo-admin-theme/webseo-admin-theme.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function webseo_get_user_admin_color() in wp-content/plugins/webseo-admin-theme/css/dynamic.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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 your attention:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid URI ("")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (You can embed source code from GitHub Gist.), #2 (You can write source code on your own blog post.)
webseo-admin-theme/webseo-admin-theme.php Passed 13 tests
The primary PHP file in "Webseo Admin Theme" version 2.1 is used by WordPress to initiate all plugin functionality
64 characters long description:
Plugin tùy chỉnh trang quản trị Wordpress - Webseo.com.vn
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
No dangerous file extensions were detected3,133 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 274 | 1 | 1,571 |
Sass | 1 | 66 | 30 | 1,462 |
JavaScript | 1 | 13 | 19 | 56 |
PHP | 2 | 5 | 9 | 44 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.27MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/logowebseo.png | 16.28KB | 1.24KB | ▼ 92.39% |
image/bg_login.png | 255.11KB | 232.59KB | ▼ 8.83% |