90% avoid-the-chromium-lazy-loading-broken-characters-bug

Code Review | Avoid the chromium lazy loading broken characters bug

WordPress plugin Avoid the chromium lazy loading broken characters bug scored90%from 54 tests.

About plugin

  • Plugin page: avoid-the-chromiu...
  • Plugin version: 0.0.4
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 3, 2022
  • Latest release: Aug 11, 2023
  • Number of updates: 8
  • Update frequency: every 31.4 days
  • Top authors: ganohr (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /808 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
The plugin installed gracefully, with no errors

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

Server-side resources used by Avoid the chromium lazy loading broken characters bug
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0142.02 ▼0.21
Dashboard /wp-admin3.32 ▼0.0350.51 ▼13.13
Posts /wp-admin/edit.php3.37 ▲0.0149.21 ▲1.56
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.65 ▼13.48
Media Library /wp-admin/upload.php3.24 ▲0.0138.79 ▲5.67

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Avoid the chromium lazy loading broken characters bug
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,904 ▲13314.05 ▼0.176.07 ▲4.1342.27 ▲2.18
Dashboard /wp-admin2,206 ▲244.86 ▼0.23117.90 ▲9.9942.31 ▼1.37
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0134.16 ▼3.3736.29 ▲1.17
Add New Post /wp-admin/post-new.php1,533 ▼123.15 ▼0.05670.72 ▲40.5554.66 ▼11.20
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0198.76 ▼1.0844.81 ▲0.97

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: bugfix, chromium, css, javascript, lazy loading

avoid-the-chromium-lazy-loading-broken-characters-bug/avoid-the-chromium-lazy-loading-broken-characters-bug.php Passed 13 tests

The main file in "Avoid the chromium lazy loading broken characters bug" v. 0.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Avoid the chromium lazy loading broken characters bug.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected133 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1122568
JavaScript11065

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.69
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin