Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.34MB] [CPU: ▼143.05ms] Passed 4 tests
A check of server-side resources used by Awesome Logos
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.16 ▲0.43 | 39.66 ▲18.00 |
Dashboard /wp-admin | 3.40 ▲0.34 | 40.93 ▼4.57 |
Posts /wp-admin/edit.php | 3.48 ▲0.37 | 47.01 ▲0.96 |
Add New Post /wp-admin/post-new.php | 5.76 ▲0.32 | 90.15 ▼569.62 |
Media Library /wp-admin/upload.php | 3.34 ▲0.33 | 33.51 ▲1.03 |
Add New Slide /wp-admin/post-new.php?post_type=wps_logos | 3.40 | 49.00 |
Logos Dashboard /wp-admin/edit.php?post_type=wps_logos&page=awesome-logos-manage | 3.31 | 32.86 |
Categories /wp-admin/edit-tags.php?taxonomy=awesome-logos-cat&post_type=wps_logos | 3.33 | 29.76 |
All Slides /wp-admin/edit.php?post_type=wps_logos | 3.38 | 38.66 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 72 new files
Database: 2 new tables, 2 new options
New tables |
---|
wp_wps_awesome_logos_meta |
wp_wps_awesome_logos |
New WordPress options |
---|
widget_wps_awesome_logos_class |
wps_awesome_logos_ver |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Awesome Logos
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,858 ▲262 | 16.66 ▲0.96 | 11.67 ▲2.16 | 45.85 ▼5.13 |
Dashboard /wp-admin | 3,058 ▲127 | 6.84 ▲0.89 | 144.34 ▼9.49 | 112.46 ▼4.27 |
Posts /wp-admin/edit.php | 2,808 ▲69 | 2.76 ▲0.04 | 76.71 ▲12.08 | 95.80 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,665 ▼18 | 22.60 ▲3.85 | 276.19 ▼93.28 | 118.38 ▲2.69 |
Media Library /wp-admin/upload.php | 1,873 ▲66 | 5.50 ▲0.48 | 134.39 ▼26.54 | 110.40 ▼20.22 |
Add New Slide /wp-admin/post-new.php?post_type=wps_logos | 2,525 | 5.12 | 105.38 | 103.55 |
Logos Dashboard /wp-admin/edit.php?post_type=wps_logos&page=awesome-logos-manage | 1,391 | 2.85 | 79.77 | 106.78 |
Categories /wp-admin/edit-tags.php?taxonomy=awesome-logos-cat&post_type=wps_logos | 1,810 | 2.78 | 62.69 | 84.75 |
All Slides /wp-admin/edit.php?post_type=wps_logos | 1,499 | 2.78 | 71.07 | 76.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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- widget_wps_awesome_logos_class
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/awesome-logos/awesome-logos.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/awesome-logos/settings/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/awesome-logos/modules/embed.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 22 tag instead of maximum 10
- Screenshots: Please describe screenshot #7 in awesome-logos/assets to your readme.txt
awesome-logos/awesome-logos.php Passed 13 tests
"Awesome Logos" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
Awesome Logos to show slider carousel and grids of brands, partners logos or to showcase photos.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin4,902 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 285 | 500 | 1,890 |
PHP | 7 | 90 | 65 | 1,563 |
CSS | 5 | 48 | 164 | 1,432 |
SVG | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
46 PNG files occupy 0.77MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/nav/b3.png | 0.49KB | 0.36KB | ▼ 27.44% |
images/sort_desc.png | 1.10KB | 0.25KB | ▼ 77.73% |
images/arow/a6.png | 12.96KB | 6.30KB | ▼ 51.37% |
images/arow/a9.png | 2.42KB | 1.57KB | ▼ 35.40% |
images/overlay.png | 0.98KB | 0.09KB | ▼ 90.43% |