90% tibetan-style

Code Review | Tibetan-Style

WordPress plugin Tibetan-Style scored 90% from 54 tests.

About plugin

  • Plugin page: tibetan-style
  • Plugin version: 3.1.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5.1
  • WordPress version: 6.3.1
  • First release: Jul 29, 2020
  • Latest release: Oct 10, 2020
  • Number of updates: 17
  • Update frequency: every 4.7 days
  • Top authors: bumpagyal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 631 total downloads

Benchmarks

Plugin footprint 83% from 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.01MB] [CPU: ▼9.50ms] Passed 4 tests

This is a short check of server-side resources used by Tibetan-Style
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.32 ▲0.59
Dashboard /wp-admin3.31 ▲0.0146.17 ▼6.97
Posts /wp-admin/edit.php3.36 ▲0.0144.46 ▼4.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0183.48 ▼26.87
Media Library /wp-admin/upload.php3.24 ▲0.0139.89 ▲2.24

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 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

An overview of browser requirements for Tibetan-Style
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲7013.16 ▼1.191.74 ▼0.2049.33 ▲11.26
Dashboard /wp-admin2,212 ▲244.86 ▼0.05105.43 ▼8.3149.38 ▲6.20
Posts /wp-admin/edit.php2,101 ▲122.11 ▲0.0739.30 ▼0.8545.13 ▲10.01
Add New Post /wp-admin/post-new.php1,523 ▼1023.38 ▲0.03692.41 ▲60.1066.70 ▲16.27
Media Library /wp-admin/upload.php1,397 ▲94.20 ▼0.07103.65 ▼12.5057.81 ▲11.25

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • 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
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
5 plugin tags: tibetan, tibetan style, tibetan fonts, google fonts, jomolhari

tibetan-style/tibetan-style.php 92% from 13 tests

The main PHP file in "Tibetan-Style" ver. 3.1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 172 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin119 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS22698
PHP131521

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
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
PNG images were not found in this plugin