Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼3.23ms] Passed 4 tests
A check of server-side resources used by Easy auto tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 38.51 ▼0.66 |
Dashboard /wp-admin | 3.65 ▲0.35 | 46.45 ▼5.38 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 46.46 ▼0.48 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 83.42 ▼6.40 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 37.19 ▲2.31 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy auto tags
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.62 ▼1.12 | 1.66 ▼0.23 | 40.46 ▼5.11 |
Dashboard /wp-admin | 2,226 ▲38 | 5.83 ▲0.91 | 95.67 ▼15.23 | 39.44 ▼2.28 |
Posts /wp-admin/edit.php | 2,112 ▲26 | 2.03 ▼0.02 | 40.92 ▲4.03 | 36.28 ▲1.92 |
Add New Post /wp-admin/post-new.php | 6,236 ▲4,694 | 25.93 ▲7.64 | 864.50 ▲200.34 | 58.72 ▲0.37 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.17 ▼0.05 | 97.86 ▼1.64 | 44.23 ▼1.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, 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 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-auto-tags/easy-auto-tags.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Settings page), #2 (Output at post screen)
easy-auto-tags/easy-auto-tags.php Passed 13 tests
Analyzing the main PHP file in "Easy auto tags" version 1.2
58 characters long description:
Generate post tags from post title and content with Google
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,715 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 205 | 298 | 1,503 |
CSS | 1 | 0 | 0 | 66 |
SVG | 1 | 1 | 0 | 57 |
PO File | 1 | 17 | 23 | 50 |
JavaScript | 1 | 2 | 0 | 39 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 163.50 |
▷ Minimum class complexity | 130.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
3 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 40.32KB | 19.43KB | ▼ 51.80% |
assets/banner-772x250.png | 43.55KB | 24.32KB | ▼ 44.17% |
screenshot-1.png | 13.49KB | 7.33KB | ▼ 45.68% |