89% beeliked-microsite

Code Review | BeeLiked Plugin

WordPress plugin BeeLiked Plugin scored89%from 54 tests.

About plugin

  • Plugin page: beeliked-microsite
  • Plugin version: 2.0.1
  • PHP compatiblity: 4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3
  • WordPress version: 6.3.1
  • First release: Mar 12, 2015
  • Latest release: Apr 15, 2020
  • Number of updates: 23
  • Update frequency: every 80.9 days
  • Top authors: thyagotc (69.57%)Beeliked (34.78%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,228 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

This is a short check of server-side resources used by BeeLiked Plugin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0133.66 ▼4.42
Dashboard /wp-admin3.32 ▼0.0246.30 ▼14.53
Posts /wp-admin/edit.php3.37 ▲0.0144.43 ▼1.37
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.59 ▼5.11
Media Library /wp-admin/upload.php3.25 ▲0.0133.86 ▲2.19

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

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

Browser metrics Passed 4 tests

Checking browser requirements for BeeLiked Plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.61 ▼0.761.83 ▲0.0740.45 ▼1.82
Dashboard /wp-admin2,203 ▲124.88 ▼1.02107.62 ▲4.7744.22 ▼0.20
Posts /wp-admin/edit.php2,089 ▼01.96 ▼0.0139.40 ▲3.9634.43 ▼1.12
Add New Post /wp-admin/post-new.php1,533 ▲1623.06 ▲5.47629.52 ▲6.9055.75 ▲0.79
Media Library /wp-admin/upload.php1,382 ▼94.24 ▲0.0396.58 ▼1.1441.60 ▼4.04

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: promotion, campaign, marketing, engagement

beeliked-microsite/beelikedmicrosite.php 77% from 13 tests

The entry point to "BeeLiked Plugin" version 2.0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "4")
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("beeliked-microsite.php" instead of "beelikedmicrosite.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 177 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP181259

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants1
▷ Global constants1100.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
No PNG images were found in this plugin