Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼6.08ms] Passed 4 tests
An overview of server-side resources used by Post Waterfall
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 272.44 ▲225.73 |
Dashboard /wp-admin | 3.46 ▲0.16 | 46.25 ▼6.81 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 45.80 ▼13.53 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 84.03 ▼6.12 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 36.03 ▲2.13 |
Post Waterfall /wp-admin/options-general.php?page=post-waterfall | 3.35 | 31.58 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 13 new options
New WordPress options |
---|
post_waterfall_columns |
post_waterfall_consumer_key |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
post_waterfall_oauth_access_token |
post_waterfall_consumer_secret |
db_upgraded |
post_waterfall_username |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Post Waterfall
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,429 ▼306 | 13.69 ▼0.71 | 0.50 ▼1.51 | 11.99 ▼39.02 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.95 | 106.23 ▼7.01 | 39.12 ▼3.16 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.04 ▲0.06 | 39.37 ▼5.75 | 33.94 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.46 ▲0.07 | 590.68 ▼31.35 | 83.97 ▲25.03 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▲0.01 | 96.42 ▼15.80 | 45.18 ▼1.31 |
Post Waterfall /wp-admin/options-general.php?page=post-waterfall | 931 | 2.04 | 28.01 | 44.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 13 options
- widget_recent-comments
- can_compress_scripts
- post_waterfall_consumer_secret
- theysaidso_admin_options
- post_waterfall_consumer_key
- post_waterfall_count
- post_waterfall_username
- post_waterfall_oauth_access_token
- widget_theysaidso_widget
- widget_recent-posts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-waterfall/post-waterfall.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
post-waterfall/post-waterfall.php 92% from 13 tests
The main file in "Post Waterfall" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin1,297 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 269 | 717 | 1,024 |
CSS | 1 | 69 | 0 | 268 |
SVG | 3 | 1 | 1 | 4 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 18.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 4 | 7.69% |
▷ Public methods | 44 | 84.62% |
▷ Protected methods | 6 | 11.54% |
▷ Private methods | 2 | 3.85% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin