Benchmarks
Plugin footprint 48% 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.92MB] [CPU: ▼32.08ms] Passed 4 tests
This is a short check of server-side resources used by IMAGE ALT TAGER
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.77 ▲3.23 |
Dashboard /wp-admin | 3.02 ▼0.28 | 27.14 ▼21.26 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 25.56 ▼24.51 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 30.09 ▼73.81 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 26.46 ▼8.72 |
IMG ALT TAGER /wp-admin/options-general.php?page=IMG_ALT_TAGER | 3.02 | 24.97 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_jmk_alt_tags |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for IMAGE ALT TAGER
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.31 ▼0.24 | 1.77 ▲0.19 | 46.96 ▲6.92 |
Dashboard /wp-admin | 2,196 ▲15 | 5.63 ▼0.03 | 96.87 ▼22.38 | 42.09 ▼3.20 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.03 | 38.37 ▲1.15 | 36.56 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.33 ▲0.28 | 668.46 ▲27.61 | 60.39 ▲10.24 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.19 ▼0.03 | 107.18 ▲4.27 | 47.31 ▲5.08 |
IMG ALT TAGER /wp-admin/options-general.php?page=IMG_ALT_TAGER | 881 | 2.00 | 26.34 | 25.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_jmk_alt_tags
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+11
Undefined index: jmk_hidden
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+193
Undefined variable: jmktags
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+203
Undefined variable: ContentBox
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+203
Undefined variable: check1
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+205
Undefined variable: WidgetBox
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+205
Undefined variable: check2
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+215
Undefined variable: randomize
- > GET request to /wp-admin/options-general.php?page=IMG_ALT_TAGER
- > Notice in wp-content/plugins/image-alt-tager/jmk_admin_menu.php+215
Undefined variable: check
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/image-alt-tager/jmk_admin_menu.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/image-alt-tager/jmk.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots do not have images: #1 (Admin Management), #2 (Plugin in action)
image-alt-tager/jmk.php 92% from 13 tests
Analyzing the main PHP file in "IMAGE ALT TAGER" version 1.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("image-alt-tager.php" instead of "jmk.php")
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
Everything looks great! No dangerous files found in this plugin297 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 30 | 297 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin