90% lul-me

Code Review | LUL Me

WordPress plugin LUL Me scored90%from 54 tests.

About plugin

  • Plugin page: lul-me
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9.2
  • WordPress version: 6.3.1
  • First release: Mar 24, 2022
  • Latest release: Apr 9, 2022
  • Number of updates: 8
  • Update frequency: every 2.2 days
  • Top authors: procontentxyz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,327 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▼0.67MB] [CPU: ▼22.51ms] Passed 4 tests

This is a short check of server-side resources used by LUL Me
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0235.58 ▼13.27
Dashboard /wp-admin3.33 ▲0.0343.36 ▼7.71
Posts /wp-admin/edit.php3.38 ▲0.0245.78 ▼1.72
Add New Post /wp-admin/post-new.php3.12 ▼2.7733.51 ▼67.35
Media Library /wp-admin/upload.php3.26 ▲0.0237.20 ▲2.95

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for LUL Me
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲5713.21 ▼1.354.26 ▲2.5140.60 ▼2.90
Dashboard /wp-admin2,209 ▲204.86 ▼0.08112.92 ▲5.2946.73 ▲0.42
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0235.81 ▼6.0330.99 ▼8.60
Add New Post /wp-admin/post-new.php1,517 ▼2317.52 ▼5.56687.06 ▲42.9959.85 ▲4.45
Media Library /wp-admin/upload.php1,391 ▲34.17 ▼0.0497.44 ▼3.6042.88 ▼0.54

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
The SRP test was a success

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)
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === lul-me === )
The official readme.txt is a good inspiration

lul-me/lul-me.php Passed 13 tests

"LUL Me" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
Earn money, When any person unlock or reveal your content (e.g., Part of blog post, YouTube video, etc)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin134 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14610134

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.53
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%
Functions5
▷ Named functions5100.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
There are no PNG files in this plugin