Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.60MB] [CPU: ▼0.59ms] 75% from 4 tests
This is a short check of server-side resources used by Alt Manager
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,877.53ms on /wp-admin/options-general.php?page=alt-manager)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.61 | 37.25 ▼0.16 |
Dashboard /wp-admin | 3.92 ▲0.61 | 50.28 ▲1.08 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 49.65 ▲0.20 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.57 | 94.53 ▼3.47 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 44.50 ▲11.61 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.04 | 36.65 |
Alt Manager /wp-admin/options-general.php?page=alt-manager | 3.92 | 1,877.53 |
Server storage [IO: ▲3.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 201 new files
Database: no new tables, 19 new options
New WordPress options |
---|
home_images_title |
home_images_alt |
post_images_title |
post_images_alt |
pages_images_alt |
cpt_images_title |
can_compress_scripts |
cpt_images_alt |
widget_recent-comments |
pages_images_title |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Alt Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.44 ▼0.94 | 1.62 ▼0.10 | 28.33 ▼16.26 |
Dashboard /wp-admin | 2,240 ▲49 | 5.19 ▼0.62 | 115.50 ▲8.18 | 41.56 ▼1.15 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.32 ▲0.33 | 41.97 ▲6.65 | 40.78 ▲7.84 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.46 ▲5.04 | 568.31 ▼34.10 | 51.56 ▼1.29 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.62 ▲0.38 | 97.95 ▼7.84 | 42.94 ▼2.39 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,084 | 1.88 | 30.22 | 28.37 |
Alt Manager /wp-admin/options-general.php?page=alt-manager | 992 | 1.88 | 25.56 | 58.23 |
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
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/alt-manager/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 19 options in the database
- widget_theysaidso_widget
- home_images_alt
- fs_active_plugins
- pages_images_title
- fs_debug_mode
- fs_accounts
- can_compress_scripts
- cpt_images_title
- home_images_title
- post_images_alt
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/alt-manager/inc/alm-functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alt-manager/inc/alm-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alt-manager/inc/alm-empty-generator.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
alt-manager/alt-manager.php 92% from 13 tests
The main PHP script in "Alt Manager" version 1.5.9 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 166 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected36,045 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 8,506 | 17,632 | 35,570 |
JavaScript | 6 | 51 | 65 | 246 |
CSS | 17 | 3 | 0 | 118 |
PO File | 1 | 36 | 49 | 95 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 95.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,357 | |
▷ Static methods | 201 | 14.81% |
▷ Public methods | 952 | 70.15% |
▷ Protected methods | 32 | 2.36% |
▷ Private methods | 373 | 27.49% |
Functions | 109 | |
▷ Named functions | 109 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 167 | |
▷ Global constants | 120 | 71.86% |
▷ Class constants | 47 | 28.14% |
▷ Public constants | 47 | 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
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/remove-icon.png | 0.33KB | 0.42KB | 0.00% |
assets/img/add-icon.png | 0.85KB | 0.80KB | ▼ 5.07% |
assets/img/select2.png | 0.51KB | 0.99KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |