83% wirtualna-polska-pixel

Code Review | Wirtualna Polska Pixel

WordPress plugin Wirtualna Polska Pixel scored83%from 54 tests.

About plugin

  • Plugin page: wirtualna-polska-...
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4
  • WordPress version: 6.3.1
  • First release: Sep 21, 2021
  • Latest release: Nov 30, 2023
  • Number of updates: 9
  • Update frequency: every 89.5 days
  • Top authors: wppixel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /948 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.96ms] Passed 4 tests

A check of server-side resources used by Wirtualna Polska Pixel
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0032.87 ▼8.78
Dashboard /wp-admin3.31 ▼0.0444.40 ▼16.31
Posts /wp-admin/edit.php3.36 ▲0.0046.41 ▼0.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.28 ▼6.04
Media Library /wp-admin/upload.php3.23 ▲0.0034.79 ▲0.14
WP Pixel /wp-admin/options-general.php?page=wph_page3.0022.33

Server storage [IO: ▲0.12MB] [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: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Wirtualna Polska Pixel
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲4314.54 ▲0.551.74 ▲0.0938.70 ▼5.58
Dashboard /wp-admin2,195 ▲185.63 ▲0.0589.12 ▼11.3540.71 ▼2.07
Posts /wp-admin/edit.php2,100 ▲31.96 ▲0.0139.15 ▲1.8734.59 ▲0.03
Add New Post /wp-admin/post-new.php1,540 ▲325.00 ▲1.83603.01 ▼1.2664.28 ▲9.08
Media Library /wp-admin/upload.php1,400 ▲34.15 ▼0.1196.29 ▼3.7343.07 ▲0.30
WP Pixel /wp-admin/options-general.php?page=wph_page280.410.093.63

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
No output text or server-side errors detected on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
    • > GET request to /wp-admin/options-general.php?page=wph_page
    • > Network (severe)
    wp-admin/options-general.php?page=wph_page - Failed to load resource: the server responded with a status of 403 (Forbidden)

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (Konfiguracja wtyczki Wirtualna Polska Pixel) image not found
Please take inspiration from this readme.txt

wirtualna-polska-pixel/wirtualnapolska-pixel.php 77% from 13 tests

The entry point to "Wirtualna Polska Pixel" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 143 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")
  • Main file name: The principal plugin file should be the same as the plugin slug ("wirtualna-polska-pixel.php" instead of "wirtualnapolska-pixel.php")

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
Good job! No executable or dangerous file extensions detected685 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP218029650
JavaScript27135

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity62.50
▷ Minimum class complexity9.00
▷ Maximum class complexity116.00
Average method complexity4.84
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods32
▷ Static methods00.00%
▷ Public methods2887.50%
▷ Protected methods00.00%
▷ Private methods412.50%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 are no PNG files in this plugin