Benchmarks
Plugin footprint Passed 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.14MB] [CPU: ▼292.87ms] Passed 4 tests
Analyzing server-side resources used by iThemeland Logo Showcase for wp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 61.82 ▲9.53 |
Dashboard /wp-admin | 3.60 ▲0.18 | 37.48 ▲0.75 |
Posts /wp-admin/edit.php | 3.82 ▲0.17 | 41.47 ▲5.86 |
Add New Post /wp-admin/post-new.php | 7.03 ▲0.06 | 92.72 ▼1,181.98 |
Media Library /wp-admin/upload.php | 3.45 ▲0.15 | 29.24 ▲3.91 |
Categories /wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo | 3.48 | 29.37 |
Shortcode Generator /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode | 3.68 | 29.26 |
All Logos /wp-admin/edit.php?post_type=itls_cp_logo | 3.59 | 29.62 |
Add Logo /wp-admin/post-new.php?post_type=itls_cp_logo | 3.80 | 50.02 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
iThemeland Logo Showcase for wp: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,222 ▲474 | 18.21 ▲2.55 | 10.33 ▲4.18 | 2.07 ▼0.23 |
Dashboard /wp-admin | 3,185 ▲324 | 8.66 ▲2.45 | 150.68 ▲11.59 | 153.80 ▼12.84 |
Posts /wp-admin/edit.php | 3,021 ▲333 | 5.07 ▲1.83 | 80.97 ▲14.03 | 136.21 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,750 ▼8 | 20.18 ▼1.88 | 393.14 ▼104.80 | 155.49 ▲1.86 |
Media Library /wp-admin/upload.php | 1,805 ▲107 | 5.91 ▲0.38 | 113.19 ▼31.93 | 183.75 ▼7.48 |
Categories /wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo | 1,953 | 5.37 | 76.10 | 106.57 |
Shortcode Generator /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode | 2,568 | 5.45 | 84.90 | 129.49 |
All Logos /wp-admin/edit.php?post_type=itls_cp_logo | 1,723 | 5.70 | 79.96 | 111.08 |
Add Logo /wp-admin/post-new.php?post_type=itls_cp_logo | 3,426 | 10.16 | 182.22 | 197.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo
- > Javascript (severe) in unknown
/wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo 18:4 Uncaught ReferenceError: jQuery is not defined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=itls_cp_logo
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-logo-showcase/assets/js/back-end/custom-js.js?ver=5.9.2:190:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=itls_cp_logo
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2 1:31702 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode 18:4 Uncaught ReferenceError: jQuery is not defined
- > GET request to /wp-admin/edit.php?post_type=itls_cp_logo
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=itls_cp_logo 18:4 Uncaught ReferenceError: jQuery is not defined
- > GET request to /wp-admin/post-new.php?post_type=itls_cp_logo
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=itls_cp_logo 18:4 Uncaught ReferenceError: jQuery is not defined
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== advanced-logo-showcase ===
) - Tags: Please delete some tags, you are using 21 tag instead of maximum 10
advanced-logo-showcase/main.php 85% from 13 tests
The principal PHP file in "iThemeland Logo Showcase for wp" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-logo-showcase.php" instead of "main.php")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin5,329 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 571 | 137 | 1,805 |
CSS | 9 | 529 | 55 | 1,536 |
PO File | 1 | 560 | 920 | 1,164 |
SVG | 1 | 0 | 0 | 414 |
JavaScript | 5 | 89 | 59 | 358 |
Markdown | 1 | 22 | 0 | 28 |
Ruby | 1 | 6 | 0 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/back-end/chosen/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
assets/css/back-end/chosen/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
assets/images/admin_overlay_bg.png | 0.19KB | 0.09KB | ▼ 50.00% |