Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.43ms] Passed 4 tests
Server-side resources used by Auto Tag Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.13 ▼7.59 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.16 ▲2.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.32 ▼6.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.46 ▼6.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.56 ▲2.42 |
Auto Tag Generator /wp-admin/options-general.php?page=fmzac-auto-tag-generator | 3.19 | 30.40 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Auto Tag Generator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.10 | 1.87 ▼0.27 | 43.19 ▼3.86 |
Dashboard /wp-admin | 2,207 ▲22 | 4.88 ▼0.17 | 115.91 ▲8.03 | 43.85 ▼2.15 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.01 | 38.41 ▼2.71 | 32.41 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.53 ▼0.59 | 659.22 ▼30.38 | 55.01 ▼0.60 |
Media Library /wp-admin/upload.php | 1,383 ▼5 | 4.23 ▲0.02 | 99.01 ▼2.15 | 41.17 ▼3.25 |
Auto Tag Generator /wp-admin/options-general.php?page=fmzac-auto-tag-generator | 689 | 1.56 | 6.56 | 22.45 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=fmzac-auto-tag-generator
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/auto-tag-generator/fmzac_AutoTagGenerator.php on line 75 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/auto-tag-generator/fmzac_AutoTagGenerator.php(75): do_settings_fields()
#1 wp-includes/class-wp-hook.php(310): fmzac_AutoTagGenerator->fmzac_option_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-tag-generator/fmzac_AutoTagGenerator.php:43
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: auto tag, tag, tag generator
auto-tag-generator/fmzac_AutoTagGenerator.php 92% from 13 tests
Analyzing the main PHP file in "Auto Tag Generator" version 1.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("auto-tag-generator.php" instead of "fmzac_AutoTagGenerator.php")
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
Everything looks great! No dangerous files found in this plugin90 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 37 | 90 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.29MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
activated.png | 80.47KB | 33.04KB | ▼ 58.94% |
post.png | 77.98KB | 30.74KB | ▼ 60.58% |
install.png | 82.86KB | 33.87KB | ▼ 59.13% |
settings.png | 59.29KB | 23.78KB | ▼ 59.90% |