84% bitdroplet-sip

Code Review | Bitdroplet SIP

WordPress plugin Bitdroplet SIP scored84%from 54 tests.

About plugin

  • Plugin page: bitdroplet-sip
  • Plugin version: 1.0.0
  • PHP compatiblity: 4.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-5.3
  • WordPress version: 6.3.1
  • First release: Jan 7, 2020
  • Latest release: Mar 3, 2020
  • Number of updates: 40
  • Update frequency: every 1.4 days
  • Top authors: ashishsajwan (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,767 total downloads

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.02MB] [CPU: ▼4.17ms] Passed 4 tests

Analyzing server-side resources used by Bitdroplet SIP
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0246.35 ▲3.57
Dashboard /wp-admin3.33 ▲0.0346.94 ▼6.09
Posts /wp-admin/edit.php3.38 ▲0.0251.06 ▲0.24
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.22 ▼14.40
Media Library /wp-admin/upload.php3.25 ▲0.0239.82 ▲3.98

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_bitdroplet_sip
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Bitdroplet SIP
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲5913.22 ▼0.752.31 ▲0.3343.29 ▲2.48
Dashboard /wp-admin2,206 ▲245.77 ▼0.02102.26 ▲1.6141.50 ▲0.85
Posts /wp-admin/edit.php2,092 ▲32.00 ▼0.0539.16 ▼2.8834.73 ▼1.74
Add New Post /wp-admin/post-new.php1,537 ▲223.37 ▼0.02657.28 ▲10.3555.17 ▲4.51
Media Library /wp-admin/upload.php1,391 ▲64.26 ▲0.0295.46 ▼8.2843.87 ▼1.22

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

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 take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/bitdroplet-sip/bitdroplet-sip.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: mutualfunds, investment, cryptocurrency, earnmoney, earn...

bitdroplet-sip/bitdroplet-sip.php Passed 13 tests

"Bitdroplet SIP" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
55 characters long description:
Drive visitors to start an SIP in Bitcoin & Earn Money.

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
Success! There were no dangerous files found in this plugin91 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1283091

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.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