Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.30MB] [CPU: ▼342.44ms] Passed 4 tests
Analyzing server-side resources used by Zelocator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.15 ▼0.36 | 17.30 ▼32.85 |
Dashboard /wp-admin | 3.07 ▼0.34 | 13.70 ▼28.02 |
Posts /wp-admin/edit.php | 3.07 ▼0.57 | 13.64 ▼25.23 |
Add New Post /wp-admin/post-new.php | 3.07 ▼3.93 | 14.39 ▼1,283.67 |
Media Library /wp-admin/upload.php | 3.07 ▼0.23 | 17.28 ▼10.94 |
Server storage [IO: ▲0.30MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 121 new files
Database: no new tables, 1 new option
New WordPress options |
---|
zl1_permalinks_flushed |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zelocator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,844 ▲90 | 16.18 ▲0.11 | 6.50 ▲0.81 | 3.11 ▲0.37 |
Dashboard /wp-admin | 2,939 ▲81 | 6.14 ▼0.04 | 119.22 ▼15.43 | 156.22 ▼8.53 |
Posts /wp-admin/edit.php | 2,735 ▲41 | 3.24 ▲0.00 | 67.48 ▲3.32 | 148.02 ▲3.38 |
Add New Post /wp-admin/post-new.php | 1,748 ▼30 | 22.49 ▲0.92 | 478.29 ▼20.26 | 164.90 ▼7.95 |
Media Library /wp-admin/upload.php | 1,742 ▲44 | 5.48 ▼0.03 | 151.60 ▼3.19 | 194.69 ▼1.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/zelocator/hc3/profiler.php+33
Array and string offset access syntax with curly braces is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- zl1_permalinks_flushed
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
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:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
zelocator/zelocator.php 92% from 13 tests
This is the main PHP file of "Zelocator" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected10,146 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 1,812 | 551 | 8,676 |
CSS | 1 | 100 | 33 | 952 |
JavaScript | 1 | 113 | 21 | 518 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 32 | |
Traits | 0 | |
Classes | 104 | |
▷ Abstract classes | 5 | 4.81% |
▷ Concrete classes | 99 | 95.19% |
▷ Final classes | 0 | 0.00% |
Methods | 770 | |
▷ Static methods | 17 | 2.21% |
▷ Public methods | 728 | 94.55% |
▷ Protected methods | 41 | 5.32% |
▷ Private methods | 1 | 0.13% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected