Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 31.81 ▼6.19 |
Dashboard /wp-admin | 3.31 ▼0.04 | 39.39 ▼19.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.85 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 72.85 ▼24.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.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 |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.25 ▼0.38 | 1.47 ▼0.13 | 35.60 ▼5.48 |
Dashboard /wp-admin | 2,198 ▲18 | 5.65 ▼0.01 | 97.22 ▲8.36 | 42.05 ▲0.17 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.94 ▼0.05 | 39.29 ▲3.67 | 37.04 ▼3.66 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.95 ▲0.59 | 682.66 ▲34.77 | 55.04 ▲2.03 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.07 | 94.51 ▼3.84 | 40.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 124 | 286 | 491 |
PO File | 2 | 56 | 84 | 162 |
JavaScript | 1 | 7 | 0 | 83 |
CSS | 1 | 1 | 0 | 12 |
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 code | 0.35 |
Average class complexity | 8.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 16 | 34.78% |
▷ Public methods | 42 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.70% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.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