90% va-detail-in-three-lines

Code Review | VA Detail In Three Lines

WordPress plugin VA Detail In Three Lines scored90%from 54 tests.

About plugin

  • Plugin page: va-detail-in-thre...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.1-4.0
  • WordPress version: 6.3.1
  • First release: Aug 15, 2014
  • Latest release: Sep 4, 2014
  • Number of updates: 6
  • Update frequency: every 3.7 days
  • Top authors: kuck1u (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /574 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.68MB] [CPU: ▼17.22ms] Passed 4 tests

A check of server-side resources used by VA Detail In Three Lines
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.91 ▼8.33
Dashboard /wp-admin3.31 ▲0.0152.42 ▼0.65
Posts /wp-admin/edit.php3.36 ▲0.0152.65 ▲3.04
Add New Post /wp-admin/post-new.php3.14 ▼2.7437.54 ▼57.64
Media Library /wp-admin/upload.php3.24 ▲0.0137.72 ▼2.27

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for VA Detail In Three Lines
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.14 ▼1.231.64 ▼0.0742.84 ▼7.94
Dashboard /wp-admin2,206 ▲155.86 ▼0.04107.36 ▲3.2740.36 ▼3.14
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0340.70 ▲3.4234.73 ▲2.49
Add New Post /wp-admin/post-new.php6,251 ▲4,71826.24 ▲3.28902.99 ▲208.6672.81 ▲20.05
Media Library /wp-admin/upload.php1,388 ▼04.27 ▼0.0597.24 ▼15.2742.13 ▼7.27

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: No tags were detected
You can take inspiration from this readme.txt

va-detail-in-three-lines/va-detail-in-three-lines.php Passed 13 tests

The main PHP script in "VA Detail In Three Lines" version 1.0.1 is automatically included on every request by WordPress
106 characters long description:
This plugin is a plugin for explaining in detail the contents of the article in a sentence of three lines.

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 detected231 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS110124
PHP12375107

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity3.11
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png80.89KB32.27KB▼ 60.11%
screenshot-2.png26.13KB11.72KB▼ 55.16%