Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.36ms] Passed 4 tests
Analyzing server-side resources used by WP Lipsum
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.10 ▼3.26 |
Dashboard /wp-admin | 3.31 ▼0.03 | 54.05 ▼19.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.99 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.34 ▼15.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.60 ▲5.03 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Lipsum
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.10 | 1.65 ▼0.41 | 44.20 ▲5.08 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▲0.01 | 88.96 ▼5.24 | 40.46 ▼1.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.04 | 35.39 ▼2.57 | 32.70 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.99 ▼0.07 | 686.55 ▲33.86 | 55.59 ▲1.71 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.25 ▲0.05 | 98.60 ▼4.25 | 45.28 ▼0.93 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following items
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wp-lipsum/templates/ul.php
- > /wp-content/plugins/wp-lipsum/templates/img.php
- > /wp-content/plugins/wp-lipsum/templates/blockquote.php
- > /wp-content/plugins/wp-lipsum/templates/caption.php
- > /wp-content/plugins/wp-lipsum/templates/table.php
- > /wp-content/plugins/wp-lipsum/templates/code.php
- > /wp-content/plugins/wp-lipsum/templates/misc.php
- > /wp-content/plugins/wp-lipsum/templates/gallery_item.php
- > /wp-content/plugins/wp-lipsum/templates/p.php
- > /wp-content/plugins/wp-lipsum/templates/ol.php
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function display_lipsum_template() in wp-content/plugins/wp-lipsum/templates/aux.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function the_author_posts_link() in wp-content/plugins/wp-lipsum/templates/single.php:5
- > PHP Notice
Undefined variable: width in wp-content/plugins/wp-lipsum/templates/gallery_item.php on line 2
- > PHP Notice
Undefined variable: height in wp-content/plugins/wp-lipsum/templates/gallery_item.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_author_posts_link() in wp-content/plugins/wp-lipsum/templates/headline_teaser.php:5
- > PHP Notice
Undefined variable: width in wp-content/plugins/wp-lipsum/templates/img.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function display_lipsum_template() in wp-content/plugins/wp-lipsum/templates/portfolio.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function display_lipsum_template() in wp-content/plugins/wp-lipsum/templates/long_headers.php:3
- > PHP Notice
Undefined variable: width in wp-content/plugins/wp-lipsum/templates/caption.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-lipsum/wp_lipsum.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (The "basic" template), #2 (The "aux" template), #3 (The "blog" template)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-lipsum ===
)
wp-lipsum/wp_lipsum.php 92% from 13 tests
"WP Lipsum" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-lipsum.php" instead of "wp_lipsum.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
Success! There were no dangerous files found in this plugin248 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 103 | 20 | 248 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.56MB with 0.28MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 285.77KB | 143.75KB | ▼ 49.70% |
screenshot-2.png | 133.39KB | 66.26KB | ▼ 50.33% |
screenshot-3.png | 150.21KB | 74.88KB | ▼ 50.15% |