Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.01ms] Passed 4 tests
An overview of server-side resources used by Plugins A to Z
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.43 ▼0.71 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.93 ▼11.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.32 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.78 ▼0.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.32 ▼2.60 |
Plugins AZ /wp-admin/options-general.php?page=pluginsaz | 3.22 | 30.48 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Plugins A to Z
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.65 ▼0.73 | 4.45 ▲2.49 | 41.24 ▲0.76 |
Dashboard /wp-admin | 2,215 ▲27 | 4.87 ▼1.02 | 109.55 ▲6.05 | 40.68 ▼0.31 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.01 | 39.26 ▲4.52 | 35.06 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.42 ▲0.15 | 592.88 ▼77.48 | 53.31 ▼12.34 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.25 ▲0.02 | 97.59 ▼9.62 | 41.13 ▼7.77 |
Plugins AZ /wp-admin/options-general.php?page=pluginsaz | 787 | 2.07 | 25.46 | 23.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=pluginsaz
- > Notice in wp-content/plugins/plugins-az/plugins_az_options.php+23
Trying to access array offset on value of type bool
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
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_action() in wp-content/plugins/plugins-az/plugins_az.php:44
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== plugins-az ===
)
plugins-az/plugins_az.php 92% from 13 tests
The primary PHP file in "Plugins A to Z" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("plugins-az.php" instead of "plugins_az.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
No dangerous file extensions were detected252 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 21 | 124 |
PO File | 2 | 20 | 24 | 80 |
CSS | 1 | 4 | 0 | 33 |
JavaScript | 1 | 9 | 3 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 7.96KB | 3.31KB | ▼ 58.35% |
assets/banner-772x250.png | 4.41KB | 4.53KB | 0.00% |
assets/screenshot-1.png | 10.30KB | 4.96KB | ▼ 51.81% |
assets/screenshot-2.png | 9.17KB | 4.45KB | ▼ 51.53% |
assets/screenshot-3.png | 7.41KB | 3.81KB | ▼ 48.60% |