Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.29ms] Passed 4 tests
An overview of server-side resources used by My auctions allegro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.93 ▲2.16 |
Dashboard /wp-admin | 3.45 ▲0.10 | 51.73 ▼11.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.74 ▲3.82 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.78 ▼13.89 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.31 ▲2.14 |
Support /wp-admin/admin.php?page=gjmaa_support | 3.32 | 38.19 |
Auctions /wp-admin/admin.php?page=gjmaa_auctions | 3.55 | 52.89 |
Plugin settings /wp-admin/admin.php?page=gjmaa_settings | 3.35 | 36.30 |
Profiles /wp-admin/admin.php?page=gjmaa_profiles | 3.42 | 36.86 |
My auctions allegro /wp-admin/admin.php?page=gjmaa_dashboard | 3.38 | 34.74 |
Import auctions /wp-admin/admin.php?page=gjmaa_import | 3.38 | 35.58 |
Server storage [IO: ▲0.70MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 177 new files
Database: 6 new tables, 8 new options
New tables |
---|
wp_gjmaa_profiles |
wp_gjmaa_allegro_attributes |
wp_gjmaa_auctions |
wp_gjmaa_categories |
wp_gjmaa_settings |
wp_gjmaa_attachments |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
gjmaa_database_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_gjmaa_auctions |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by My auctions allegro
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲91 | 14.67 ▲0.31 | 1.76 ▲0.04 | 43.19 ▼0.57 |
Dashboard /wp-admin | 2,237 ▲63 | 5.67 ▲0.01 | 95.33 ▼5.01 | 49.06 ▲0.71 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 1.97 ▼0.04 | 38.64 ▲1.59 | 34.93 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.27 ▲0.19 | 607.73 ▼1.01 | 62.99 ▼1.84 |
Media Library /wp-admin/upload.php | 1,445 ▲48 | 4.13 ▼0.02 | 113.12 ▲18.97 | 45.74 ▲5.51 |
Support /wp-admin/admin.php?page=gjmaa_support | 1,460 | 9.32 | 298.46 | 98.55 |
Auctions /wp-admin/admin.php?page=gjmaa_auctions | 1,383 | 1.70 | 26.76 | 34.71 |
Plugin settings /wp-admin/admin.php?page=gjmaa_settings | 1,069 | 1.69 | 26.94 | 26.57 |
Profiles /wp-admin/admin.php?page=gjmaa_profiles | 1,088 | 1.70 | 27.24 | 31.94 |
My auctions allegro /wp-admin/admin.php?page=gjmaa_dashboard | 1,216 | 1.97 | 26.28 | 48.57 |
Import auctions /wp-admin/admin.php?page=gjmaa_import | 897 | 1.64 | 27.16 | 26.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 tables in the database
- wp_gjmaa_settings
- wp_gjmaa_auctions
- wp_gjmaa_categories
- wp_gjmaa_allegro_attributes
- wp_gjmaa_profiles
- wp_gjmaa_attachments
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- gjmaa_database_version
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_gjmaa_auctions
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'GJMAA_PATH_CODE/service/abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'GJMAA_Model' not found in wp-content/plugins/my-auctions-allegro-free-edition/src/model/allegro/attribute.php:8
- > PHP Warning
require_once(GJMAA_PATH_CODE/service/import/event.php): failed to open stream: No such file or directory in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/custom.php on line 4
- > PHP Warning
Use of undefined constant GJMAA_PATH_CODE - assumed 'GJMAA_PATH_CODE' (this will throw an Error in a future version of PHP) in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/price.php on line 4
- > PHP Warning
Use of undefined constant GJMAA_PATH_CODE - assumed 'GJMAA_PATH_CODE' (this will throw an Error in a future version of PHP) in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/stock.php on line 4
- > PHP Warning
require_once(GJMAA_PATH_CODE/service/import/event.php): failed to open stream: No such file or directory in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/price.php on line 4
- > PHP Warning
Use of undefined constant GJMAA_PATH_CODE - assumed 'GJMAA_PATH_CODE' (this will throw an Error in a future version of PHP) in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/custom.php on line 4
- > PHP Warning
require_once(GJMAA_PATH_CODE/service/import/event.php): failed to open stream: No such file or directory in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/stock.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'GJMAA_PATH_CODE/service/import/event.php' (include_path='.:/usr/share/php') in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event/price.php on line 4
- > PHP Warning
require_once(GJMAA_PATH_CODE/service/abstract.php): failed to open stream: No such file or directory in wp-content/plugins/my-auctions-allegro-free-edition/src/service/import/event.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #19 in my-auctions-allegro-free-edition/assets to your readme.txt
my-auctions-allegro-free-edition/my-auctions-allegro-free-edition.php 85% from 13 tests
"My auctions allegro" version 3.6.11's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.0.0")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected13,596 lines of code in 128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 2,442 | 916 | 10,992 |
CSS | 8 | 255 | 47 | 1,963 |
PO File | 2 | 164 | 171 | 350 |
JavaScript | 6 | 46 | 47 | 291 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 101 | |
▷ Abstract classes | 8 | 7.92% |
▷ Concrete classes | 93 | 92.08% |
▷ Final classes | 0 | 0.00% |
Methods | 756 | |
▷ Static methods | 55 | 7.28% |
▷ Public methods | 735 | 97.22% |
▷ Protected methods | 2 | 0.26% |
▷ Private methods | 19 | 2.51% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 45 | |
▷ Global constants | 4 | 8.89% |
▷ Class constants | 41 | 91.11% |
▷ Public constants | 41 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/allegro-icon.png | 1.90KB | 1.76KB | ▼ 7.46% |
assets/img/rsz_allegro.png | 1.08KB | 1.35KB | 0.00% |
assets/img/allegro_slidebox.png | 1.96KB | 1.49KB | ▼ 23.98% |