Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼158.41ms] Passed 4 tests
This is a short check of server-side resources used by Glavpunkt
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 34.69 ▲1.65 |
Dashboard /wp-admin | 3.06 ▲0.00 | 45.92 ▼1.81 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 40.53 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.16 ▼627.65 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 33.24 ▼5.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Glavpunkt
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 15.86 ▲0.22 | 10.89 ▼1.23 | 46.79 ▲0.18 |
Dashboard /wp-admin | 2,967 ▲30 | 5.90 ▼0.13 | 143.91 ▲1.58 | 103.85 ▲6.16 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 64.84 ▼5.59 | 90.74 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,683 ▲1 | 18.66 ▼0.20 | 410.43 ▼4.68 | 108.67 ▲2.63 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.00 ▼0.02 | 144.63 ▼11.47 | 109.10 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Invalid url: ""
glavpunkt/glavpunkt.php Passed 13 tests
"Glavpunkt" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
Delivery by courier, post and selecting pickup points
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected579 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 152 | 451 |
PO File | 1 | 39 | 46 | 99 |
JavaScript | 1 | 2 | 4 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 36.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 63.64% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin