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
Install script ran successfully
Server metrics [RAM: ▲5.42MB] [CPU: ▲32.43ms] 75% from 4 tests
A check of server-side resources used by Logo Showcase with Logo Carousel, Logo Slider & Logo Grid
Please have a look at the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.42MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.22 ▲5.76 | 72.91 ▲27.44 |
Dashboard /wp-admin | 9.24 ▲5.94 | 83.48 ▲29.35 |
Posts /wp-admin/edit.php | 9.24 ▲5.88 | 93.57 ▲39.78 |
Add New Post /wp-admin/post-new.php | 9.98 ▲4.10 | 131.08 ▲34.72 |
Media Library /wp-admin/upload.php | 9.24 ▲6.01 | 77.88 ▲38.21 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.24 | 65.82 |
Server storage [IO: ▲4.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 256 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
fs_active_plugins |
fs_debug_mode |
widget_theysaidso_widget |
fs_accounts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Logo Showcase with Logo Carousel, Logo Slider & Logo Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲203 | 13.93 ▼0.60 | 8.48 ▲6.25 | 30.74 ▼11.26 |
Dashboard /wp-admin | 2,253 ▲79 | 5.84 ▲0.20 | 98.10 ▲8.19 | 45.02 ▲2.08 |
Posts /wp-admin/edit.php | 2,158 ▲61 | 2.28 ▲0.26 | 43.15 ▲2.80 | 38.53 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 22.14 ▼1.01 | 692.52 ▲0.07 | 37.51 ▼15.88 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.41 ▲0.25 | 99.41 ▼18.47 | 44.04 ▼7.75 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,125 | 1.93 | 27.82 | 27.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/hm-logo-showcase/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- fs_debug_mode
- db_upgraded
- fs_accounts
- can_compress_scripts
- fs_active_plugins
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/hm-logo-showcase/front/view/logo.php:42
- > 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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: logo slider, image carousel, client logo slider, logo carousel, client logo carousel
hm-logo-showcase/hm-logo-showcase.php 92% from 13 tests
This is the main PHP file of "Logo Showcase with Logo Carousel, Logo Slider & Logo Grid" version 2.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin39,587 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 8,223 | 17,271 | 35,177 |
JavaScript | 8 | 960 | 116 | 2,705 |
PO File | 5 | 426 | 641 | 941 |
CSS | 22 | 159 | 48 | 751 |
SVG | 1 | 1 | 0 | 13 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 78.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 6 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,309 | |
▷ Static methods | 197 | 15.05% |
▷ Public methods | 899 | 68.68% |
▷ Protected methods | 35 | 2.67% |
▷ Private methods | 375 | 28.65% |
Functions | 105 | |
▷ Named functions | 105 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 153 | |
▷ Global constants | 106 | 69.28% |
▷ Class constants | 47 | 30.72% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |