Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.95ms] Passed 4 tests
Analyzing server-side resources used by Big Snow Flakes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.18 ▼2.88 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.32 ▼2.87 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 48.41 ▼3.35 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.97 ▼26.71 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.75 ▼0.55 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Big Snow Flakes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,251 ▲465 | 14.31 ▼0.42 | 20.59 ▲18.34 | 311.35 ▲269.22 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.10 | 92.54 ▼0.10 | 38.53 ▼6.55 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 34.93 ▼1.14 | 36.07 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.23 ▼0.01 | 688.80 ▼22.20 | 66.92 ▲5.56 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.06 | 115.43 ▼3.71 | 52.36 ▲3.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/big-snow-flakes/admin/partials/big-snow-flakes-admin-display.php
- > /wp-content/plugins/big-snow-flakes/public/partials/big-snow-flakes-public-display.php
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: snow flake, christmas, snow flakes, show, snowing...
big-snow-flakes/big-snow-flakes.php Passed 13 tests
Analyzing the main PHP file in "Big Snow Flakes" version 1.0.1
83 characters long description:
Add Big Animated Snow Flakes to your Wordpress site and enjoy winter and Christmas.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin341 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 39 | 31 | 175 |
PHP | 12 | 116 | 543 | 166 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected