Benchmarks
Plugin footprint 83% 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.05MB] [CPU: ▼5.24ms] Passed 4 tests
An overview of server-side resources used by Web Stories Enhancer - Level Up Your Web Stories
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 34.61 ▼5.41 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.86 ▼3.40 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.84 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.85 ▼10.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.19 ▼0.05 |
Web Stories Enhancer /wp-admin/options-general.php?page=web-stories-enhancer | 3.31 | 35.69 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Web Stories Enhancer - Level Up Your Web Stories: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.68 ▲0.41 | 1.63 ▼0.03 | 38.01 ▼7.74 |
Dashboard /wp-admin | 2,217 ▲37 | 5.65 ▼0.00 | 94.71 ▼4.15 | 43.21 ▼4.10 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.03 | 40.35 ▼3.02 | 34.29 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.18 ▲0.22 | 677.08 ▲29.99 | 57.16 ▲3.09 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.04 | 95.15 ▼5.71 | 43.02 ▼0.99 |
Web Stories Enhancer /wp-admin/options-general.php?page=web-stories-enhancer | 1,187 | 3.13 | 40.98 | 80.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: stories, web stories, amp, storytelling, google
web-stories-enhancer/web_stories_enhancer.php 77% from 13 tests
The entry point to "Web Stories Enhancer - Level Up Your Web Stories" version 1.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("web-stories-enhancer.php" instead of "web_stories_enhancer.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
There were no executable files found in this plugin896 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 120 | 27 | 528 |
CSS | 1 | 25 | 6 | 190 |
JavaScript | 1 | 29 | 1 | 178 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 20.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
4 PNG files occupy 0.47MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/grid.png | 372.72KB | 393.24KB | 0.00% |
assets/images/logo.png | 61.41KB | 13.25KB | ▼ 78.43% |
assets/images/box_carousel.png | 27.59KB | 26.57KB | ▼ 3.70% |
assets/images/circle_carousel.png | 24.33KB | 24.63KB | 0.00% |