100% wp-forum-latest-posts

Code Review | WP-Forum Latest Posts

WordPress plugin WP-Forum Latest Posts scored 100% from 54 tests.

About plugin

  • Plugin page: wp-forum-latest-p...
  • Plugin version: 0.5.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.1-5.8.9999
  • WordPress version: 5.8.1
  • First release: Apr 17, 2008
  • Latest release: Aug 7, 2021
  • Number of updates: 46
  • Update frequency: every 108.8 days
  • Top authors: Alphawolf (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

60+ active / 21,058 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by WP-Forum Latest Posts
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1237.08 ▲13.88
Dashboard /wp-admin3.06 ▲0.0054.05 ▲8.61
Posts /wp-admin/edit.php3.11 ▲0.0041.07 ▼6.06
Add New Post /wp-admin/post-new.php5.42 ▼0.0198.52 ▼574.05
Media Library /wp-admin/upload.php3.00 ▼0.0132.49 ▼3.19

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

WP-Forum Latest Posts: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.00 ▲0.1111.02 ▼1.1049.24 ▼0.11
Dashboard /wp-admin2,973 ▲435.95 ▼0.05145.00 ▼10.04111.59 ▼23.56
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0064.26 ▼2.9099.75 ▲10.54
Add New Post /wp-admin/post-new.php1,683 ▲6818.77 ▼2.60374.48 ▲85.02111.91 ▼1.31
Media Library /wp-admin/upload.php1,807 ▼05.02 ▼0.02154.60 ▲1.79129.61 ▼5.63

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wp-forum, posts, latest, forum, list

wp-forum-latest-posts/wp-forum-latest-posts.php Passed 13 tests

The main file in "WP-Forum Latest Posts" v. 0.5.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
42 characters long description:
Lists the latest posts from your WP-Forum.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin25 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110825

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin