Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.86ms] Passed 4 tests
Server-side resources used by Auto-populate Image ALT Tags from Media Library
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.99 ▼1.58 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.14 ▲0.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.95 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 102.31 ▲1.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.43 ▼3.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto-populate Image ALT Tags from Media Library
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲36 | 13.27 ▼0.37 | 5.95 ▲0.60 | 41.55 ▼2.83 |
Dashboard /wp-admin | 2,206 ▼0 | 4.87 ▼1.04 | 100.06 ▼7.24 | 40.57 ▼1.84 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.04 | 40.30 ▼0.06 | 34.94 ▼5.41 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 18.39 ▼4.82 | 595.91 ▼92.37 | 61.63 ▲2.59 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.12 ▼0.10 | 101.47 ▼11.90 | 46.82 ▼1.60 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
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_filter() in wp-content/plugins/auto-populate-image-alt-tags-from-media-library/img-alt-media-library.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: Contributors not specified
- Screenshots: Add images for these screenshots: #1 ([https://taylor.callsen.me/wp-content/uploads/2018/02/set-title-alt-tags-media-li.jpg Set the Image Alt and Title tags in the Media Library]), #2 ([https://taylor.callsen.me/wp-content/uploads/2018/02/see-img-alt-title-when-view.jpg The Alt and Title tags are automatically inserted into the Image HTML when viewing a page or post])
auto-populate-image-alt-tags-from-media-library/img-alt-media-library.php 92% from 13 tests
This is the main PHP file of "Auto-populate Image ALT Tags from Media Library" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-populate-image-alt-tags-from-media-library.php" instead of "img-alt-media-library.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
Success! There were no dangerous files found in this plugin32 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 19 | 32 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
No PNG images were found in this plugin