84% jl-login-logo

Code Review | JL Login Logo

WordPress plugin JL Login Logo scored84%from 54 tests.

About plugin

  • Plugin page: jl-login-logo
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.3
  • WordPress version: 6.3.1
  • First release: Sep 2, 2015
  • Latest release: Sep 3, 2015
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: joaopluis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /984 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼1.73ms] Passed 4 tests

Server-side resources used by JL Login Logo
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.33 ▲2.86
Dashboard /wp-admin3.32 ▼0.0364.27 ▲1.48
Posts /wp-admin/edit.php3.37 ▲0.0148.21 ▼2.69
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.04 ▼5.27
Media Library /wp-admin/upload.php3.24 ▲0.0135.65 ▼0.44

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

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

Browser metrics Passed 4 tests

JL Login Logo: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.66 ▼0.644.35 ▲2.4443.60 ▲0.71
Dashboard /wp-admin2,209 ▲214.86 ▼0.02100.31 ▼15.3638.49 ▼5.00
Posts /wp-admin/edit.php2,092 ▼01.98 ▼0.0642.30 ▲5.2137.83 ▲4.31
Add New Post /wp-admin/post-new.php1,514 ▼1917.53 ▼5.73713.85 ▲34.3251.53 ▼17.72
Media Library /wp-admin/upload.php1,388 ▲34.19 ▲0.0294.41 ▼7.9441.68 ▼3.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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jl-login-logo/jl-login-logo.php:66

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
3 plugin tags: jetpack, login, logo

jl-login-logo/jl-login-logo.php Passed 13 tests

The entry point to "JL Login Logo" version 1.0 is a PHP file that has certain tags in its header comment area
77 characters long description:
Set your Jetpack-defined site logo or your site icon as your login page logo.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected40 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP117940

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin