Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/logo-awesome/logo-awesome.php+48
Constant LOGO_AWESOME_NAME already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼59.97ms] Passed 4 tests
A check of server-side resources used by Logo Awesome - Client Brand Logo Showcase
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.06 ▼40.40 |
Dashboard /wp-admin | 2.05 ▼1.26 | 4.88 ▼58.40 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.85 ▼52.47 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.78 ▼88.61 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.10 ▼33.91 |
All Logos /wp-admin/edit.php?post_type=logo-awesome | 2.05 | 7.92 |
Add New /wp-admin/post-new.php?post_type=logo-awesome | 2.05 | 6.46 |
Server storage [IO: ▲10.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 569 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Logo Awesome - Client Brand Logo Showcase
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,124 ▲389 | 18.40 ▲4.05 | 1.73 ▼0.17 | 40.44 ▼3.24 |
Dashboard /wp-admin | 2,531 ▲346 | 9.30 ▲4.36 | 160.48 ▼5.71 | 38.75 ▼30.06 |
Posts /wp-admin/edit.php | 2,459 ▲370 | 6.29 ▲4.26 | 83.45 ▲42.76 | 31.10 ▼9.92 |
Add New Post /wp-admin/post-new.php | 6,499 ▲4,966 | 23.79 ▲0.47 | 1,033.31 ▲382.57 | 51.56 ▲5.11 |
Media Library /wp-admin/upload.php | 1,583 ▲195 | 6.59 ▲2.42 | 134.22 ▲11.66 | 53.97 ▼4.02 |
All Logos /wp-admin/edit.php?post_type=logo-awesome | 1,423 | 6.16 | 82.73 | 32.43 |
Add New /wp-admin/post-new.php?post_type=logo-awesome | 15,901 | 12.75 | 484.33 | 56.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/logo-awesome/logo-awesome.php+48
Constant LOGO_AWESOME_NAME already defined
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=logo-awesome
- > Notice in wp-content/plugins/logo-awesome/logo-awesome.php+48
Constant LOGO_AWESOME_NAME already defined
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 141× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Carbon_Fields\\Provider\\add_filter() in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:254
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Blog_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Field/Checkbox_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
- > PHP Notice
Undefined variable: logo_awesome_select_logo in wp-content/plugins/logo-awesome/elementor-widgets/logos/tpl/logo-block.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Level_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/logo-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/logo-awesome/public/logo-styles/grid-card-1.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: logo, logo slider, logo showcase, brand, logo carousel
logo-awesome/logo-awesome.php Passed 13 tests
Analyzing the main PHP file in "Logo Awesome - Client Brand Logo Showcase" version 1.0.0
37 characters long description:
Partner & Client Logo Showcase Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin46,836 lines of code in 485 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 3,643 | 1,732 | 17,767 |
JavaScript | 189 | 5,387 | 8,906 | 13,688 |
PHP | 186 | 2,893 | 7,304 | 10,770 |
Sass | 51 | 367 | 0 | 1,936 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 137 | |
▷ Abstract classes | 11 | 8.03% |
▷ Concrete classes | 126 | 91.97% |
▷ Final classes | 1 | 0.79% |
Methods | 973 | |
▷ Static methods | 102 | 10.48% |
▷ Public methods | 794 | 81.60% |
▷ Protected methods | 169 | 17.37% |
▷ Private methods | 10 | 1.03% |
Functions | 133 | |
▷ Named functions | 42 | 31.58% |
▷ Anonymous functions | 91 | 68.42% |
Constants | 40 | |
▷ Global constants | 15 | 37.50% |
▷ Class constants | 25 | 62.50% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to 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 |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |
public/img/date-icon-vertical.png | 0.95KB | 0.17KB | ▼ 82.60% |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
public/img/date-icon.png | 0.14KB | 0.18KB | 0.00% |
public/img/timeline-bg.png | 0.08KB | 0.10KB | 0.00% |