Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼5.55ms] Passed 4 tests
Analyzing server-side resources used by Excited! Testimonials Showcase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 43.17 ▲3.73 |
Dashboard /wp-admin | 3.88 ▲0.57 | 47.15 ▲1.67 |
Posts /wp-admin/edit.php | 3.92 ▲0.56 | 50.93 ▲4.57 |
Add New Post /wp-admin/post-new.php | 5.38 ▼0.51 | 69.01 ▼27.95 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 39.22 ▲0.36 |
Server storage [IO: ▲3.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 181 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Excited! Testimonials Showcase
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 14.46 ▲0.05 | 1.87 ▲0.04 | 41.08 ▼8.72 |
Dashboard /wp-admin | 2,261 ▲73 | 4.88 ▼0.08 | 105.39 ▼10.32 | 41.57 ▼2.85 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.07 ▲0.10 | 40.86 ▲4.59 | 35.11 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 17.72 ▲0.25 | 629.34 ▼57.31 | 63.04 ▼6.21 |
Media Library /wp-admin/upload.php | 1,444 ▲59 | 4.23 ▲0.07 | 98.39 ▼16.28 | 39.64 ▼8.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 32× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/font_style.php
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/text_transform.php
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/colorpicker.php
- > /wp-content/plugins/excited-testimonials-showcase/public/partials/parts/tooltip-button.php
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/photo_shape.php
- > /wp-content/plugins/excited-testimonials-showcase/public/partials/parts/single_showcase/testimonials_open.php
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/width.php
- > /wp-content/plugins/excited-testimonials-showcase/public/partials/parts/single_showcase/testimonial_close.php
- > /wp-content/plugins/excited-testimonials-showcase/public/partials/parts/single_showcase/testimonials_close.php
- > /wp-content/plugins/excited-testimonials-showcase/admin/partials/tooltips/parts/padding.php
- 367× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: styles in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/grid/photo.php on line 6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/excited-testimonials-showcase/public/partials/parts/single_showcase_css.php:2
- > PHP Notice
Undefined variable: styles in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/single_showcase/divider.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/single_showcase/short_text.php on line 11
- > PHP Notice
Trying to get property 'rating' of non-object in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/rating.php on line 21
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/excited-testimonials-showcase/public/partials/parts/group-information.php:7
- > PHP Notice
Undefined variable: styles in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/widget/short_text.php on line 10
- > PHP Notice
Undefined variable: styles in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/grid_float/photo.php on line 7
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/single_showcase/position.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/excited-testimonials-showcase/public/partials/blocks/short_text.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
excited-testimonials-showcase/init.php 92% from 13 tests
The entry point to "Excited! Testimonials Showcase" version 1.0.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("excited-testimonials-showcase.php" instead of "init.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 detected10,161 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 825 | 1,004 | 8,702 |
HTML | 2 | 19 | 18 | 1,000 |
SVG | 7 | 1 | 3 | 291 |
JSON | 4 | 0 | 0 | 48 |
PO File | 1 | 13 | 38 | 45 |
JavaScript | 2 | 0 | 2 | 43 |
CSS | 3 | 0 | 12 | 22 |
Markdown | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 189 | |
▷ Static methods | 60 | 31.75% |
▷ Public methods | 160 | 84.66% |
▷ Protected methods | 19 | 10.05% |
▷ Private methods | 10 | 5.29% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon_support.png | 1.23KB | 1.32KB | 0.00% |
admin/img/icon_summary.png | 1.38KB | 1.47KB | 0.00% |
admin/img/default-avatar.png | 2.23KB | 1.86KB | ▼ 16.24% |
admin/img/icon_vc.png | 1.05KB | 1.12KB | 0.00% |
admin/img/menu_icon.png | 1.17KB | 0.51KB | ▼ 56.69% |