Benchmarks
Plugin footprint 82% 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.03MB] [CPU: ▼5.18ms] 75% from 4 tests
A check of server-side resources used by Accesibilidad Web con el Widget de AccedeMe
Please have a look at the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,860.36ms on /wp-admin/options-general.php?page=accedeme-plugin-option)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.00 ▼1.30 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.56 ▼8.22 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.09 ▼1.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.79 ▼9.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.77 ▼0.76 |
WP Accedeme /wp-admin/options-general.php?page=accedeme-plugin-option | 3.25 | 1,860.36 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_accedeme |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accesibilidad Web con el Widget de AccedeMe
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲107 | 15.78 ▲1.53 | 72.56 ▲70.54 | 40.74 ▼3.29 |
Dashboard /wp-admin | 2,213 ▲64 | 5.88 ▲0.26 | 96.02 ▼0.37 | 48.53 ▲11.31 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▲0.02 | 36.29 ▲0.17 | 31.59 ▼7.93 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.04 ▲5.37 | 671.91 ▼20.97 | 54.11 ▼3.76 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.27 ▲0.03 | 94.76 ▼22.95 | 42.31 ▼10.05 |
WP Accedeme /wp-admin/options-general.php?page=accedeme-plugin-option | 794 | 2.02 | 24.44 | 30.79 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 plugin_dir_path() in wp-content/plugins/accedeme-for-wp/wp-accedeme.php:15
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 18 tag instead of maximum 10
accedeme-for-wp/wp-accedeme.php 77% from 13 tests
The entry point to "Accesibilidad Web con el Widget de AccedeMe" version 0.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accedeme-for-wp.php" instead of "wp-accedeme.php")
- Description: Keep the plugin description shorter than 140 characters (currently 199 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected6,755 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 1,699 | 1,510 | 6,443 |
PHP | 8 | 64 | 110 | 217 |
CSS | 1 | 0 | 0 | 62 |
PO File | 1 | 10 | 12 | 33 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 3 | 17.65% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo_accedeme.png | 16.26KB | 5.03KB | ▼ 69.05% |