90% venture-lite-companion

Code Review | Venture Lite Companion

WordPress plugin Venture Lite Companion scored90%from 54 tests.

About plugin

  • Plugin page: venture-lite-comp...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.5.2
  • WordPress version: 6.3.1
  • First release: Jun 18, 2016
  • Latest release: Jun 18, 2016
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: NimbusThemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /6,296 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 gracefully, with no errors

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

A check of server-side resources used by Venture Lite Companion
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.97 ▼2.20
Dashboard /wp-admin3.32 ▼0.0343.60 ▼14.77
Posts /wp-admin/edit.php3.37 ▲0.0144.98 ▼0.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.09 ▼14.96
Media Library /wp-admin/upload.php3.24 ▲0.0135.72 ▲1.11

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Venture Lite Companion
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲1714.31 ▼0.041.60 ▼0.1139.19 ▼3.75
Dashboard /wp-admin2,209 ▲285.62 ▼0.0983.67 ▼15.5739.53 ▼0.08
Posts /wp-admin/edit.php2,115 ▲152.02 ▲0.0440.24 ▲3.9838.70 ▲2.24
Add New Post /wp-admin/post-new.php1,540 ▲1423.13 ▼0.06672.11 ▲12.9453.75 ▼2.96
Media Library /wp-admin/upload.php1,411 ▲84.19 ▲0.0698.85 ▲0.5244.69 ▼1.61

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Tags: No valid plugin tags found
You can take inspiration from this readme.txt

venture-lite-companion/venture-lite-companion.php Passed 13 tests

The principal PHP file in "Venture Lite Companion" v. 1.0.0 is loaded by WordPress automatically on each request
68 characters long description:
Add many additional features and settings to the Venture Lite theme.

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
Good job! No executable or dangerous file extensions detected931 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP315669931

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity18.25
▷ Minimum class complexity13.00
▷ Maximum class complexity28.00
Average method complexity5.31
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.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 were not PNG files found in your plugin