100% lana-post-tags

Code Review | Lana Post Tags

WordPress plugin Lana Post Tags scored 100% from 54 tests.

About plugin

  • Plugin page: lana-post-tags
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8
  • WordPress version: 5.8.1
  • First release: Oct 11, 2016
  • Latest release: Aug 18, 2017
  • Number of updates: 8
  • Update frequency: every 39.0 days
  • Top authors: lanadesign (87.5%)lanacodes (25%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 590 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

This is a short check of server-side resources used by Lana Post Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0143.38 ▲0.85
Dashboard /wp-admin3.07 ▲0.0161.36 ▲14.62
Posts /wp-admin/edit.php3.12 ▲0.0053.57 ▼3.11
Add New Post /wp-admin/post-new.php5.43 ▼0.01100.67 ▼567.05
Media Library /wp-admin/upload.php3.01 ▲0.0140.34 ▼3.47

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Lana Post Tags
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲6615.92 ▼0.0411.54 ▼1.1753.35 ▲1.65
Dashboard /wp-admin2,970 ▲365.91 ▼0.01156.50 ▼7.03120.04 ▲1.63
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0273.75 ▲2.4892.67 ▲5.39
Add New Post /wp-admin/post-new.php1,687 ▲10618.71 ▲0.13431.71 ▼27.24118.59 ▼3.42
Media Library /wp-admin/upload.php1,807 ▼05.03 ▲0.00175.46 ▲3.83132.47 ▲11.99

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: post tags, shows all tags, displays all tags

lana-post-tags/lana-post-tags.php Passed 13 tests

The main PHP file in "Lana Post Tags" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
Shows all post tags on edit sidebox.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin42 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1142827
CSS13012
JavaScript1043

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.64
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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