84% jetpacks-melt-snow

Code Review | Jetpacks Melt Snow

WordPress plugin Jetpacks Melt Snow scored84%from 54 tests.

About plugin

  • Plugin page: jetpacks-melt-snow
  • Plugin version: 0.6.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.8
  • WordPress version: 6.3.1
  • First release: Nov 22, 2013
  • Latest release: Jun 5, 2017
  • Number of updates: 4
  • Update frequency: every 322.7 days
  • Top authors: blobaugh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /957 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.74ms] Passed 4 tests

This is a short check of server-side resources used by Jetpacks Melt Snow
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.18 ▼3.81
Dashboard /wp-admin3.31 ▼0.0445.21 ▼16.38
Posts /wp-admin/edit.php3.36 ▲0.0048.49 ▲0.82
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.68 ▼14.90
Media Library /wp-admin/upload.php3.23 ▲0.0033.94 ▼3.86

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Jetpacks Melt Snow
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.25 ▼1.061.74 ▲0.0343.74 ▲1.49
Dashboard /wp-admin2,206 ▲185.89 ▲0.07100.32 ▼10.5939.84 ▼4.78
Posts /wp-admin/edit.php2,092 ▲32.05 ▲0.0638.59 ▲3.4934.74 ▼6.47
Add New Post /wp-admin/post-new.php1,533 ▲1922.90 ▲5.28662.01 ▼25.4154.11 ▼2.68
Media Library /wp-admin/upload.php1,388 ▼04.23 ▼0.0896.49 ▼16.7541.38 ▼4.30

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 were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jetpacks-melt-snow/jetpacks-melt-snow.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: snow, modules, holiday, jetpack

jetpacks-melt-snow/jetpacks-melt-snow.php Passed 13 tests

"Jetpacks Melt Snow" version 0.6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Disables uneccessary easter egg modules in Jetpack, notably Holiday Snow

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1385

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin