78% post-grid-free

Code Review | Post Grid Free

WordPress plugin Post Grid Free scored78%from 54 tests.

About plugin

  • Plugin page: post-grid-free
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 19, 2022
  • Latest release: Nov 11, 2023
  • Number of updates: 8
  • Update frequency: every 243.9 days
  • Top authors: pickelements (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /705 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Post Grid Free
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0336.43 ▼3.80
Dashboard /wp-admin3.33 ▼0.0146.16 ▼16.17
Posts /wp-admin/edit.php3.38 ▲0.0348.99 ▲3.80
Add New Post /wp-admin/post-new.php5.94 ▲0.0594.43 ▼4.75
Media Library /wp-admin/upload.php3.25 ▲0.0335.97 ▼1.22
Add New Grid /wp-admin/post-new.php?post_type=picgridfree3.2951.22
All Grid /wp-admin/edit.php?post_type=picgridfree3.2634.73

Server storage [IO: ▲0.79MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
category_children
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Post Grid Free
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,922 ▲16013.47 ▼0.898.13 ▲6.4047.09 ▲1.96
Dashboard /wp-admin2,239 ▲625.78 ▲0.2093.43 ▲1.0640.33 ▼4.81
Posts /wp-admin/edit.php2,149 ▲522.25 ▲0.2440.67 ▲3.3035.82 ▼1.20
Add New Post /wp-admin/post-new.php1,566 ▲3623.56 ▲0.48635.69 ▼55.0532.46 ▼21.63
Media Library /wp-admin/upload.php1,447 ▲474.44 ▲0.23100.11 ▲1.8743.44 ▲0.70
Add New Grid /wp-admin/post-new.php?post_type=picgridfree3,2814.26113.0543.44
All Grid /wp-admin/edit.php?post_type=picgridfree1,1212.1950.6029.89

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 7 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • category_children
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/edit.php?post_type=picgridfree
    • > Notice in wp-content/plugins/post-grid-free/includes/post-types/post-grid-free-post-type.php+58
    Undefined index: order

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 take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/post-grid-free/post-grid-free.php

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 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Screenshots: Screenshot #4 (screenshot-4) image not found
The official readme.txt might help

post-grid-free/post-grid-free.php Passed 13 tests

This is the main PHP file of "Post Grid Free" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
107 characters long description:
Post Grid Free is a fully Responsive WordPress Plugin to display your WordPress post with different styles.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,972 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP8116591,080
SVG210578
CSS3811293
JavaScript255421

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin