WordPress plugin Leadster scored83%from 54 tests.

About plugin

  • Plugin page: leadster-marketin...
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 11, 2021
  • Latest release: Nov 20, 2023
  • Number of updates: 25
  • Update frequency: every 35.7 days
  • Top authors: leadster (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

4,000+ active /22,234 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼7.22ms] Passed 4 tests

This is a short check of server-side resources used by Leadster
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0248.63 ▲13.47
Dashboard /wp-admin3.34 ▼0.0145.64 ▼17.69
Posts /wp-admin/edit.php3.39 ▲0.0346.53 ▼4.44
Add New Post /wp-admin/post-new.php5.92 ▲0.0388.48 ▼7.62
Media Library /wp-admin/upload.php3.26 ▲0.0337.29 ▲0.87
Leadster /wp-admin/options-general.php?page=leadster3.2333.03

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Leadster
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲4914.67 ▲0.332.33 ▲0.8351.29 ▲14.90
Dashboard /wp-admin2,201 ▲265.58 ▼0.1090.01 ▼23.0039.16 ▼5.44
Posts /wp-admin/edit.php2,106 ▲61.98 ▲0.0040.72 ▲1.8134.36 ▼0.74
Add New Post /wp-admin/post-new.php1,531 ▼923.66 ▲0.66685.09 ▼2.0454.66 ▼0.63
Media Library /wp-admin/upload.php1,409 ▲64.24 ▲0.0797.16 ▼1.3445.15 ▲2.26
Leadster /wp-admin/options-general.php?page=leadster8571.9927.1025.50

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested

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
The following issues need your attention
  • 6× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/error.php
    • > /wp-content/plugins/leadster-marketing-conversacional/leadster.php
    • > /wp-content/plugins/leadster-marketing-conversacional/views/script-code.php
    • > /wp-content/plugins/leadster-marketing-conversacional/views/content.php
    • > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/success.php
    • > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/warning.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: marketing conversacional, marketing, gerao de leads, leads, leadster...

leadster-marketing-conversacional/leadster.php 77% from 13 tests

The entry point to "Leadster" version 1.2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/i18n/")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("leadster-marketing-conversacional.php" instead of "leadster.php")

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
Everything looks great! No dangerous files found in this plugin223 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP66162207
CSS13016

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
No PNG files were detected