99% wptouch-cestina

Code Review | WPtouch čeština

WordPress plugin WPtouch čeština scored 99% from 54 tests.

About plugin

  • Plugin page: wptouch-cestina
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 5.8.1
  • First release: Apr 25, 2015
  • Latest release: May 12, 2015
  • Number of updates: 3
  • Update frequency: every 8.3 days
  • Top authors: expres-web (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 2,114 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

Server-side resources used by WPtouch čeština
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1232.48 ▲12.87
Dashboard /wp-admin3.06 ▲0.0145.10 ▼0.94
Posts /wp-admin/edit.php3.11 ▲0.0150.33 ▲6.68
Add New Post /wp-admin/post-new.php5.43 ▼0.0197.16 ▼1,663.59
Media Library /wp-admin/upload.php3.00 ▼0.0033.90 ▼4.64

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for WPtouch čeština
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,689 ▲9315.93 ▲0.358.96 ▼0.2750.94 ▲0.07
Dashboard /wp-admin2,967 ▲365.89 ▼0.13142.18 ▼14.29110.55 ▲12.44
Posts /wp-admin/edit.php2,739 ▼02.70 ▼0.0270.22 ▼0.7683.55 ▼6.34
Add New Post /wp-admin/post-new.php1,683 ▲18318.29 ▼0.50408.48 ▲35.70102.94 ▼21.96
Media Library /wp-admin/upload.php1,810 ▲35.04 ▲0.03159.36 ▲10.19115.60 ▼4.28

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

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
These attributes need your attention:
  • Screenshots: Please add an image for screenshot #1 (Náhled)
Please take inspiration from this readme.txt

wptouch-cestina/wptouch-cestina.php 92% from 13 tests

Analyzing the main PHP file in "WPtouch čeština" version 1.1
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin8 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16268

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.50
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png126.84KB60.86KB▼ 52.02%