Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.07ms] Passed 4 tests
Server-side resources used by iThemeland Logo Showcase for wp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.54 ▲0.01 |
Dashboard /wp-admin | 3.48 ▲0.17 | 59.88 ▲3.89 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 57.08 ▲5.80 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 96.27 ▼5.21 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.70 ▲1.03 |
All Logos /wp-admin/edit.php?post_type=itls_cp_logo | 3.44 | 42.49 |
Add Logo /wp-admin/post-new.php?post_type=itls_cp_logo | 3.50 | 54.85 |
Categories /wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo | 3.39 | 40.74 |
Shortcode Generator /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode | 3.60 | 41.92 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for iThemeland Logo Showcase for wp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,139 ▲378 | 15.39 ▲1.18 | 5.52 ▲3.76 | 41.64 ▲1.16 |
Dashboard /wp-admin | 2,444 ▲238 | 6.78 ▲0.89 | 128.97 ▲26.15 | 38.27 ▼1.81 |
Posts /wp-admin/edit.php | 2,349 ▲249 | 3.62 ▲1.57 | 59.71 ▲17.91 | 34.60 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,610 ▲55 | 18.69 ▲0.39 | 631.49 ▼21.19 | 33.73 ▼26.10 |
Media Library /wp-admin/upload.php | 1,483 ▲83 | 4.40 ▲0.18 | 87.30 ▼21.74 | 42.58 ▼3.38 |
All Logos /wp-admin/edit.php?post_type=itls_cp_logo | 1,334 | 3.64 | 46.42 | 26.73 |
Add Logo /wp-admin/post-new.php?post_type=itls_cp_logo | 2,622 | 7.47 | 159.83 | 75.31 |
Categories /wp-admin/edit-tags.php?taxonomy=itls_logo_category&post_type=itls_cp_logo | 1,525 | 3.46 | 42.70 | 31.84 |
Shortcode Generator /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode | 1,993 | 3.85 | 54.25 | 29.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > 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
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "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=6.3.1:190:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=itls_cp_logo&page=logo_showcase_shortcode
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
- > 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
- > 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
- > 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
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (21 tag instead of maximum 10)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== advanced-logo-showcase ===
)
advanced-logo-showcase/main.php 85% from 13 tests
This is the main PHP file of "iThemeland Logo Showcase for wp" version 1.0, 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:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: It is recommended to name the main PHP file 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 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected5,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
A brief analysis 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.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |