Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass.php+40
Undefined index: HTTPS
Server metrics [RAM: ▼1.76MB] [CPU: ▼196.80ms] Passed 4 tests
Server-side resources used by Wp Easy Allopass
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼0.85 | 5.12 ▼23.05 |
Dashboard /wp-admin | 1.88 ▼1.17 | 9.58 ▼32.81 |
Posts /wp-admin/edit.php | 1.89 ▼1.22 | 6.09 ▼39.45 |
Add New Post /wp-admin/post-new.php | 1.89 ▼3.55 | 5.35 ▼678.70 |
Media Library /wp-admin/upload.php | 1.89 ▼1.12 | 7.62 ▼36.24 |
Wp Easy Allopass /wp-admin/options-general.php?page=Wp-Easy-Allopass | 1.89 | 5.54 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: 2 new tables, no new options
New tables |
---|
wp_weallopass_prod |
wp_weallopass_stat |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wp Easy Allopass
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.95 ▲0.36 | 9.10 ▼3.56 | 46.31 ▼1.43 |
Dashboard /wp-admin | 2,997 ▲66 | 5.97 ▼0.19 | 147.48 ▼8.84 | 109.85 ▲5.66 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.00 | 64.94 ▼3.17 | 90.09 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,686 ▲82 | 18.82 ▲0.27 | 400.02 ▼36.82 | 103.41 ▼13.24 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.04 ▲0.00 | 157.29 ▲3.66 | 115.17 ▼24.60 |
Wp Easy Allopass /wp-admin/options-general.php?page=Wp-Easy-Allopass | 1,603 | 2.06 | 56.15 | 79.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass.php+40
Undefined index: HTTPS
- The uninstall procedure failed, leaving 2 tables in the database
- wp_weallopass_stat
- wp_weallopass_prod
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Wp-Easy-Allopass
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass.php+40
Undefined index: HTTPS
- > GET request to /wp-admin/options-general.php?page=Wp-Easy-Allopass
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass.php+67
Undefined index: DATAS
- > GET request to /wp-admin/options-general.php?page=Wp-Easy-Allopass
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass_admin.php+180
Undefined variable: id_site
- > GET request to /wp-admin/options-general.php?page=Wp-Easy-Allopass
- > Notice in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass_admin.php+184
Undefined variable: id_produit
- > GET request to /wp-admin/options-general.php?page=Wp-Easy-Allopass
- > User deprecated in wp-includes/functions.php+5495
get_bloginfo was called with an argument that is deprecated since version 2.2.0! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wordpress-easy-allopass/index.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass.php:29
- > PHP Fatal error
Uncaught Error: Call to a member function flush() on null in wp-content/plugins/wordpress-easy-allopass/wp-easy-allopass_admin.php:3
- > 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 79% from 29 tests
readme.txt 81% 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 require images: #1 (Wp easy allopass - Add product screen.), #2 (Wp Easy Allopass - Product list screen), #3 (Wp Easy Allopass - Sales statistics), #4 (Wp Easy Allopass - Shortcode instructions.), #5 (Wp Easy Allopass - Frontend (Example).)
- Plugin Name: You should set the name of your plugin on the first line (
=== wordpress-easy-allopass ===
) - Tags: There are too many tags (17 tag instead of maximum 10)
wordpress-easy-allopass/wp-easy-allopass.php 77% from 13 tests
"Wp Easy Allopass" version 4.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wordpress-easy-allopass.php" instead of "wp-easy-allopass.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 547 characters long)
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
No dangerous file extensions were detected970 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 56 | 794 |
PO File | 1 | 62 | 11 | 176 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 132 | |
▷ Global constants | 132 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/fiche.png | 0.23KB | 0.13KB | ▼ 45.00% |
image/active.png | 0.99KB | 0.16KB | ▼ 84.37% |
image/site.png | 0.28KB | 0.17KB | ▼ 39.01% |
image/edit.png | 0.34KB | 0.21KB | ▼ 37.64% |
image/suppr.png | 0.24KB | 0.13KB | ▼ 45.08% |