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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.27ms] Passed 4 tests
Analyzing server-side resources used by == Autotagger
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.25 ▲3.69 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.81 ▼4.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.94 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.03 ▼6.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.34 ▲3.77 |
Settings /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2 | 3.00 | 27.03 |
Autotagger /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page | 3.00 | 23.68 |
Server storage [IO: ▲3.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by == Autotagger
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.16 | 4.72 ▲2.95 | 41.82 ▼1.84 |
Dashboard /wp-admin | 2,203 ▲21 | 5.77 ▲0.88 | 98.04 ▼16.49 | 37.54 ▼11.82 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.02 ▲0.00 | 38.41 ▲1.47 | 35.70 ▲3.60 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.42 ▲0.33 | 674.20 ▲5.60 | 51.46 ▼6.05 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.22 ▼0.12 | 95.07 ▼4.52 | 44.08 ▲1.56 |
Settings /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2 | 28 | 0.44 | 0.12 | 3.97 |
Autotagger /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page | 28 | 0.44 | 0.09 | 3.85 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2
- > Network (severe)
wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2 - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page
- > Network (severe)
wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #0 is missing in wp-autotagger/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
wp-autotagger/247-wp-smart-tagger.php 77% from 13 tests
The main file in "== Autotagger" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-autotagger.php" instead of "247-wp-smart-tagger.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected233 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 78 | 68 | 233 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 3.24MB with 2.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot 01.png | 115.52KB | 25.18KB | ▼ 78.20% |
assets/screenshot-1.png | 646.41KB | 253.85KB | ▼ 60.73% |
assets/screenshot-2.png | 154.89KB | 39.77KB | ▼ 74.33% |
screenshot-1.png | 189.98KB | 50.74KB | ▼ 73.29% |
assets/screenshot-4.png | 358.63KB | 110.44KB | ▼ 69.20% |