89% apaczka-pl-mapa-punktow

Code Review | Apaczka.pl Mapa Punktów

WordPress plugin Apaczka.pl Mapa Punktów scored89%from 54 tests.

About plugin

  • Plugin page: apaczka-pl-mapa-p...
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Dec 1, 2020
  • Latest release: Oct 24, 2023
  • Number of updates: 17
  • Update frequency: every 62.8 days
  • Top authors: inspirelabs (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /6,788 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

Server-side resources used by Apaczka.pl Mapa Punktów
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0031.81 ▼6.19
Dashboard /wp-admin3.31 ▼0.0439.39 ▼19.39
Posts /wp-admin/edit.php3.36 ▲0.0045.85 ▲0.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0072.85 ▼24.83
Media Library /wp-admin/upload.php3.23 ▲0.0031.60 ▼4.12

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Apaczka.pl Mapa Punktów
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.25 ▼0.381.47 ▼0.1335.60 ▼5.48
Dashboard /wp-admin2,198 ▲185.65 ▼0.0197.22 ▲8.3642.05 ▲0.17
Posts /wp-admin/edit.php2,103 ▲31.94 ▼0.0539.29 ▲3.6737.04 ▼3.66
Add New Post /wp-admin/post-new.php1,526 ▼223.95 ▲0.59682.66 ▲34.7755.04 ▲2.03
Media Library /wp-admin/upload.php1,400 ▼04.18 ▲0.0794.51 ▼3.8440.70 ▼4.49

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • 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 no errors were found, this is by no means an exhaustive test

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 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: apaczka, woocommerce

apaczka-pl-mapa-punktow/apaczka-points-map.php 85% from 13 tests

Analyzing the main PHP file in "Apaczka.pl Mapa Punktów" version 1.3.1
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 186 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("apaczka-pl-mapa-punktow.php" instead of "apaczka-points-map.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
There were no executable files found in this plugin748 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PO File25684162

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity8.71
▷ Minimum class complexity1.00
▷ Maximum class complexity33.00
Average method complexity2.17
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods1634.78%
▷ Public methods4291.30%
▷ Protected methods00.00%
▷ Private methods48.70%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants240.00%
▷ Class constants360.00%
▷ Public constants3100.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
No PNG files were detected