83% linvo-time-your-marketing

Code Review | Linvo - Time your marketing

WordPress plugin Linvo - Time your marketing scored83%from 54 tests.

About plugin

  • Plugin page: linvo-time-your-m...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 4, 2020
  • Latest release: Jun 4, 2020
  • Number of updates: 12
  • Update frequency: N/A
  • Top authors: nevodavid (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /339 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

An overview of server-side resources used by Linvo - Time your marketing
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0150.92 ▲8.33
Dashboard /wp-admin3.32 ▼0.0354.65 ▼15.15
Posts /wp-admin/edit.php3.37 ▲0.0148.19 ▼2.84
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.55 ▼15.32
Media Library /wp-admin/upload.php3.24 ▲0.0134.31 ▼1.38

Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] 67% from 3 tests

How much does this plugin use your filesystem and database?
Just a few items left to fix
  • There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/linvo-time-your-marketing/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Linvo - Time your marketing
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,854 ▲6813.18 ▼1.191.74 ▼0.5643.35 ▼0.50
Dashboard /wp-admin2,248 ▲454.89 ▼0.96104.93 ▼18.3269.85 ▲25.38
Posts /wp-admin/edit.php2,142 ▲422.02 ▲0.0335.49 ▼1.0634.37 ▼1.53
Add New Post /wp-admin/post-new.php1,569 ▲1920.93 ▼2.39716.42 ▲53.8459.80 ▲9.55
Media Library /wp-admin/upload.php1,430 ▲274.25 ▼0.0298.99 ▼3.0661.73 ▲14.05

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 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
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linvo-time-your-marketing/bootstrap.php:11

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in linvo-time-your-marketing/assets to your readme.txt
  • Plugin Name: You should set the name of your plugin on the first line ( === linvo-time-your-marketing === )
Please take inspiration from this readme.txt

linvo-time-your-marketing/bootstrap.php 92% from 13 tests

This is the main PHP file of "Linvo - Time your marketing" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("linvo-time-your-marketing.php" instead of "bootstrap.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin86 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP115964
SVG10015
Markdown1607

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.10MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot.png107.52KB27.19KB▼ 74.71%