Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.18ms] Passed 4 tests
This is a short check of server-side resources used by PARSIJOO MAP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.74 ▼8.66 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.17 ▼2.36 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 46.91 ▼1.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 92.12 ▼4.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.58 ▲0.73 |
Parsijoo MAP /wp-admin/tools.php?page=parsijoo | 3.31 | 36.53 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by PARSIJOO MAP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 13.74 ▼0.64 | 5.61 ▲3.66 | 42.20 ▲2.72 |
Dashboard /wp-admin | 2,207 ▲22 | 5.80 ▼0.10 | 98.81 ▼1.68 | 39.61 ▼5.88 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.07 | 35.38 ▼3.96 | 33.38 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.63 ▼5.53 | 604.18 ▼23.59 | 48.91 ▼24.89 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.39 ▲0.27 | 94.62 ▼7.51 | 40.27 ▼4.05 |
Parsijoo MAP /wp-admin/tools.php?page=parsijoo | 848 | 2.44 | 42.32 | 46.45 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/parsijoo-map/assets/index.php
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/tools.php?page=parsijoo
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught Error: Map container not found.
Optimizations
Plugin configuration Passed 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
6 plugin tags: parsijoo, location, shortcode, googlemap, leaflet...
parsijoo-map/parsijoo-map.php Passed 13 tests
The main PHP file in "PARSIJOO MAP" ver. 3.0.0 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
With this plugin you can display your location on the Parsijoo MAP
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,423 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 185 | 32 | 747 |
PHP | 7 | 90 | 210 | 496 |
PO File | 1 | 42 | 43 | 143 |
JavaScript | 3 | 12 | 4 | 37 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 15 | 71.43% |
▷ Public methods | 14 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
8 compressed PNG files occupy 0.14MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/marker-icon-org.png | 1.43KB | 1.55KB | 0.00% |
assets/css/images/marker-icon-2x-org.png | 2.41KB | 2.52KB | 0.00% |
screenshot-1.png | 127.01KB | 126.46KB | 0.43% |
assets/css/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
assets/css/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |