Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.82MB] [CPU: ▼35.63ms] Passed 4 tests
An overview of server-side resources used by Wp Posts Showcase
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.88 ▼4.49 |
Dashboard /wp-admin | 3.13 ▼0.22 | 28.37 ▼37.49 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 24.95 ▼24.07 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 23.71 ▼72.90 |
Media Library /wp-admin/upload.php | 3.13 ▼0.10 | 26.32 ▼8.05 |
WP Posts Showcase /wp-admin/options-general.php?page=wp-posts-showcase | 3.13 | 24.78 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
wp-posts-showcase_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Wp Posts Showcase
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲168 | 13.59 ▼0.97 | 9.33 ▲7.18 | 43.78 ▲1.82 |
Dashboard /wp-admin | 2,228 ▲51 | 5.84 ▲0.19 | 93.06 ▼10.40 | 40.32 ▼1.39 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.26 ▲0.23 | 40.39 ▲0.74 | 35.10 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.80 ▲0.79 | 651.71 ▲5.27 | 36.79 ▼15.33 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.33 ▲0.09 | 106.59 ▼3.08 | 46.01 ▼2.37 |
WP Posts Showcase /wp-admin/options-general.php?page=wp-posts-showcase | 1,645 | 2.59 | 56.00 | 32.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/wp-posts-showcase/wp-posts-showcase.php+256
Non-static method WpPostsShowcaseGenerator::add_showcase_data() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-posts-showcase
- > Deprecated in wp-content/plugins/wp-posts-showcase/wp-posts-showcase.php+256
Non-static method WpPostsShowcaseGenerator::add_showcase_data() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-posts-showcase
- > Warning in wp-content/plugins/wp-posts-showcase/includes/utils.class.php+30
Creating default object from empty value
- > GET request to /wp-admin/options-general.php?page=wp-posts-showcase
- > Notice in wp-content/plugins/wp-posts-showcase/wp-posts-showcase.php+370
Uninitialized string offset: 1
- > GET request to /wp-admin/options-general.php?page=wp-posts-showcase
- > Notice in wp-content/plugins/wp-posts-showcase/wp-posts-showcase.php+370
Uninitialized string offset: 2
- > GET request to /wp-admin/options-general.php?page=wp-posts-showcase
- > Notice in wp-content/plugins/wp-posts-showcase/wp-posts-showcase.php+370
Uninitialized string offset: 3
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Wp Posts Showcase activation in plugins page.), #2 (Wp Posts showcase in settings menu link.), #3 (Wp Posts showcase settings page.), #4 (Wp Posts showcase button in post/page editor to add shortcode directly.), #5 (Frontend page for posts showcase.), #6 (Responsive wp posts showcase mobile.), #7 (Responsive wp posts showcase tablet.), #8 (4 Column layout for Posts showcase.)
- Tags: You are using too many tags: 14 tag instead of maximum 10
wp-posts-showcase/wp-posts-showcase.php Passed 13 tests
"Wp Posts Showcase" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
106 characters long description:
Fully Responsive and Mobile Friendly way to showcase your featured posts or custom post types on frontend.
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 detected1,076 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 108 | 122 | 575 |
CSS | 2 | 63 | 32 | 362 |
JavaScript | 3 | 37 | 12 | 139 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 7 | 30.43% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.64MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 144.86KB | 67.91KB | ▼ 53.12% |
images/shortcode-icon.png | 0.55KB | 0.69KB | 0.00% |
screenshot-1.png | 73.33KB | 40.14KB | ▼ 45.26% |
screenshot-2.png | 73.46KB | 40.74KB | ▼ 44.54% |
screenshot-7.png | 58.05KB | 22.78KB | ▼ 60.76% |