Benchmarks
Plugin footprint Passed 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.05MB] [CPU: ▼132.53ms] Passed 4 tests
A check of server-side resources used by Falling Things
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 43.30 ▲23.83 |
Dashboard /wp-admin | 3.11 ▲0.05 | 47.50 ▲11.29 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 48.81 ▼5.28 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 94.43 ▼538.37 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.82 ▲2.26 |
Falling things settings /wp-admin/options-general.php?page=falling_things_settings | 3.04 | 34.65 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: 1 new table, 4 new options
New tables |
---|
wp_failling_images |
New WordPress options |
---|
falling_items_quantity |
falling_items_speed |
falling_items_display_on |
falling_items_move_lr |
Browser metrics Passed 4 tests
An overview of browser requirements for Falling Things
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,028 ▲391 | 17.91 ▲2.44 | 15.35 ▲5.27 | 45.39 ▼4.71 |
Dashboard /wp-admin | 3,158 ▲224 | 7.99 ▲2.02 | 179.57 ▲17.85 | 106.62 ▼10.17 |
Posts /wp-admin/edit.php | 2,968 ▲229 | 4.25 ▲1.53 | 89.92 ▲15.64 | 83.96 ▼6.92 |
Add New Post /wp-admin/post-new.php | 1,620 ▼63 | 21.40 ▲3.09 | 286.37 ▼119.87 | 103.22 ▼5.36 |
Media Library /wp-admin/upload.php | 1,817 ▼2 | 4.79 ▼0.23 | 123.36 ▼57.17 | 125.70 ▲13.61 |
Falling things settings /wp-admin/options-general.php?page=falling_things_settings | 1,399 | 3.35 | 70.28 | 99.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/falling-things/falling_things.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/falling-things/views/settings.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
falling-things/falling_things.php 77% from 13 tests
The primary PHP file in "Falling Things" version 1.07 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: Please prefix the domain path with a forward slash character ("/")
- Domain Path: Use only dashes and lowercase characters for the domain path ("")
- Main file name: Name the main plugin file the same as the plugin slug ("falling-things.php" instead of "falling_things.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin250 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 29 | 189 |
JavaScript | 1 | 14 | 2 | 52 |
CSS | 2 | 0 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/leaf.png | 1.52KB | 1.35KB | ▼ 10.93% |
images/snowflake.png | 1.21KB | 1.14KB | ▼ 5.65% |
images/save.png | 0.54KB | 0.39KB | ▼ 28.11% |
images/wordpress_falling_things_pro_settings.png | 37.21KB | 13.05KB | ▼ 64.94% |
images/flower.png | 2.27KB | 1.73KB | ▼ 24.04% |