Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼11.39ms] Passed 4 tests
This is a short check of server-side resources used by RS Logo Showcase
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.49 ▼8.75 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.98 ▲3.53 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 42.38 ▼12.83 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.11 ▼27.51 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 42.41 ▲4.36 |
All Logos /wp-admin/edit.php?post_type=rst-logo | 3.33 | 31.30 |
Categories /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=rst-logo | 3.28 | 28.44 |
Add New Logo /wp-admin/post-new.php?post_type=rst-logo | 3.42 | 61.99 |
All Shortcodes /wp-admin/edit.php?post_type=rst_logo_settings | 3.33 | 32.54 |
Create Shortcode /wp-admin/post-new.php?post_type=rst_logo_settings | 3.61 | 57.70 |
Server storage [IO: ▲2.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RS Logo Showcase
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲170 | 14.52 ▲1.30 | 5.66 ▲3.80 | 44.38 ▼7.16 |
Dashboard /wp-admin | 2,270 ▲61 | 5.07 ▲0.20 | 116.94 ▲17.15 | 88.08 ▲48.17 |
Posts /wp-admin/edit.php | 2,161 ▲72 | 2.34 ▲0.33 | 36.94 ▼8.22 | 37.17 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,725 ▲197 | 22.64 ▲1.84 | 776.89 ▲50.09 | 61.36 ▼0.78 |
Media Library /wp-admin/upload.php | 1,446 ▲58 | 4.44 ▲0.19 | 106.32 ▼27.22 | 69.64 ▲10.12 |
All Logos /wp-admin/edit.php?post_type=rst-logo | 1,139 | 2.29 | 38.54 | 33.01 |
Categories /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=rst-logo | 1,334 | 2.07 | 31.59 | 29.92 |
Add New Logo /wp-admin/post-new.php?post_type=rst-logo | 2,360 | 7.93 | 188.88 | 125.10 |
All Shortcodes /wp-admin/edit.php?post_type=rst_logo_settings | 1,130 | 2.27 | 34.77 | 31.97 |
Create Shortcode /wp-admin/post-new.php?post_type=rst_logo_settings | 2,489 | 2.98 | 99.35 | 78.48 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 46× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/rs-logo-showcase/includes/admin/metabox/tab/slider-tab.php:3
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/rs-logo-showcase/includes/view/slider1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rs-logo-showcase/rst-logo.php:21
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/rs-logo-showcase/includes/view/grid5.php on line 3
- > PHP Notice
Undefined variable: que in wp-content/plugins/rs-logo-showcase/includes/view/list.php on line 8
- > PHP Notice
Undefined variable: slider_nav_arrow in wp-content/plugins/rs-logo-showcase/includes/view/slider3.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/rs-logo-showcase/includes/admin/metabox/tab/style-tab.php:1
- > PHP Notice
Undefined variable: que in wp-content/plugins/rs-logo-showcase/includes/view/grid6.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rs-logo-showcase/includes/admin/metabox/settings.php:10
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/rs-logo-showcase/includes/view/grid1.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in rs-logo-showcase/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
rs-logo-showcase/rst-logo.php 85% from 13 tests
The principal PHP file in "RS Logo Showcase" v. 1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rs-logo-showcase.php" instead of "rst-logo.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected10,289 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 657 | 99 | 4,534 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 4 | 494 | 958 | 2,034 |
PHP | 20 | 276 | 91 | 1,050 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/images/icon-admin.png | 1.10KB | 0.17KB | ▼ 84.97% |
assets/images/icon-admin.png | 1.10KB | 0.17KB | ▼ 84.97% |