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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.22ms] Passed 4 tests
A check of server-side resources used by A-2-Z Alphabetical Archive Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.18 ▲1.42 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.52 ▼6.60 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.22 ▲1.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.98 ▼1.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.54 ▲2.54 |
A2Z Alphabetical Archive Links /wp-admin/options-general.php?page=a2zaal-options | 3.27 | 32.96 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by A-2-Z Alphabetical Archive Links
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.18 | 4.74 ▲2.95 | 44.86 ▼0.56 |
Dashboard /wp-admin | 2,213 ▲31 | 5.80 ▼0.10 | 93.58 ▼7.22 | 37.53 ▼5.44 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.00 | 39.65 ▲6.36 | 35.66 ▲2.89 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.53 ▼1.02 | 640.47 ▲36.44 | 59.13 ▲3.23 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.15 ▼0.05 | 95.47 ▼3.20 | 41.38 ▼3.34 |
A2Z Alphabetical Archive Links /wp-admin/options-general.php?page=a2zaal-options | 787 | 2.03 | 24.05 | 23.93 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/a2z-alphabetical-archive-links/src/vender/wp-background-processing/classes/wp-background-process.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/a2z-alphabetical-archive-links/src/settings.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Background_Process' not found in wp-content/plugins/a2z-alphabetical-archive-links/src/classes/A2ZAAL_Post_Type_Background_Process.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/a2z-alphabetical-archive-links/src/vender/wp-background-processing/wp-background-processing.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/a2z-alphabetical-archive-links/src/rewrites.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/a2z-alphabetical-archive-links/src/plugin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/a2z-alphabetical-archive-links/src/widgets/a2zaal_widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/a2z-alphabetical-archive-links/src/views/settings_form.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3 in a2z-alphabetical-archive-links/assets to your readme.txt
a2z-alphabetical-archive-links/a2z-alphabetical-archive-links.php 85% from 13 tests
Analyzing the main PHP file in "A-2-Z Alphabetical Archive Links" version 2.0.2
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,107 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 356 | 795 | 869 |
Markdown | 1 | 54 | 0 | 104 |
JavaScript | 1 | 22 | 25 | 86 |
CSS | 1 | 2 | 81 | 30 |
JSON | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 2 | 50.00% |
▷ Concrete classes | 2 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 53.49% |
▷ Protected methods | 20 | 46.51% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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 are no PNG files in this plugin