Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.29ms] Passed 4 tests
This is a short check of server-side resources used by Client Showcase
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.61 ▼3.58 |
Dashboard /wp-admin | 3.42 ▲0.12 | 70.45 ▲8.27 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 56.85 ▲2.76 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 100.75 ▲6.70 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.79 ▼0.71 |
Add New Client /wp-admin/post-new.php?post_type=client_showcase | 3.27 | 38.52 |
All Clients /wp-admin/edit.php?post_type=client_showcase | 3.39 | 40.33 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 10 new options
New WordPress options |
---|
client_showcase_list |
theysaidso_admin_options |
client_showcase_flush_rewrite_rules |
can_compress_scripts |
widget_theysaidso_widget |
widget_client_showcase |
client_showcase_list_display |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Client Showcase
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲8 | 14.47 ▲0.22 | 1.92 ▼0.09 | 49.08 ▲2.25 |
Dashboard /wp-admin | 2,237 ▲31 | 4.88 ▲0.03 | 98.99 ▼12.10 | 43.08 ▲2.76 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 1.99 ▼0.04 | 39.90 ▲3.62 | 36.00 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,573 ▲53 | 18.52 ▼4.56 | 645.69 ▼64.83 | 46.88 ▼8.27 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.27 ▲0.08 | 97.50 ▼6.60 | 41.09 ▼6.15 |
Add New Client /wp-admin/post-new.php?post_type=client_showcase | 2,219 | 7.80 | 195.63 | 69.37 |
Client Showcase Options /wp-admin/client_showcase_options.php | 26 | 0.44 | 0.10 | 14.44 |
All Clients /wp-admin/edit.php?post_type=client_showcase | 1,089 | 1.93 | 31.22 | 28.86 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_client_showcase
- can_compress_scripts
- widget_recent-comments
- client_showcase_flush_rewrite_rules
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=client_showcase
- > Notice in wp-content/plugins/client-showcase/client-showcase.php+98
Trying to get property 'ID' of non-object
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/client-showcase/languages/index.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/client-showcase/client-showcase.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/client_showcase_options.php
- > Network (severe)
wp-admin/client_showcase_options.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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
6 plugin tags: client list, clients logo, client showcase, showcase clients, clients...
client-showcase/client-showcase.php Passed 13 tests
The entry point to "Client Showcase" version 1.2.0 is a PHP file that has certain tags in its header comment area
108 characters long description:
A WordPress plugin that displays client logo's in a list using a shortcode anywhere on the page and also has
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
Everything looks great! No dangerous files found in this plugin463 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 70 | 19 | 423 |
CSS | 3 | 1 | 4 | 27 |
JavaScript | 1 | 0 | 1 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
11 PNG files occupy 0.43MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 16.23KB | 5.45KB | ▼ 66.42% |
assets/screenshot-6.png | 52.77KB | 18.08KB | ▼ 65.73% |
assets/screenshot-3.png | 54.16KB | 23.39KB | ▼ 56.81% |
assets/banner-772x250.png | 14.33KB | 13.25KB | ▼ 7.56% |
assets/icon-256x256.png | 8.96KB | 8.02KB | ▼ 10.51% |