89% post-list-wp

Code Review | Templates For PluginOps Landing Page Builder

WordPress plugin Templates For PluginOps Landing Page Builder scored89%from 54 tests.

About plugin

  • Plugin page: post-list-wp
  • Plugin version: 1.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.0
  • WordPress version: 6.3.1
  • First release: Jul 13, 2014
  • Latest release: Jun 8, 2022
  • Number of updates: 18
  • Update frequency: every 160.5 days
  • Top authors: umarbajwa (100%)

Code review

54 tests

User reviews

1 review

Install metrics

600+ active /13,119 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

An overview of server-side resources used by Templates For PluginOps Landing Page Builder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.37 ▼0.58
Dashboard /wp-admin3.31 ▲0.0044.20 ▼1.06
Posts /wp-admin/edit.php3.36 ▲0.0044.55 ▼3.62
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.04 ▼7.53
Media Library /wp-admin/upload.php3.23 ▲0.0035.11 ▲0.71

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 134 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Templates For PluginOps Landing Page Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.25 ▼1.151.58 ▼0.1440.42 ▼3.08
Dashboard /wp-admin2,206 ▲185.88 ▲0.8594.20 ▼4.4039.20 ▼3.39
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0133.93 ▼4.7834.31 ▼10.29
Add New Post /wp-admin/post-new.php1,533 ▼023.18 ▼0.18668.33 ▼0.0169.51 ▲14.03
Media Library /wp-admin/upload.php1,391 ▲64.18 ▼0.08104.45 ▲3.7345.67 ▼0.86

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 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 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

post-list-wp/pluginops-templates.php 92% from 13 tests

The entry point to "Templates For PluginOps Landing Page Builder" version 1.3.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-list-wp.php" instead of "pluginops-templates.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected156 lines of code in 133 files:
LanguageFilesBlank linesComment linesLines of code
JSON13200153
PHP1583

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code1.00
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%
Functions0
▷ Named functions00.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
There were not PNG files found in your plugin