Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼142.62ms] Passed 4 tests
An overview of server-side resources used by Church Dictionar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 38.34 ▲17.10 |
Dashboard /wp-admin | 3.11 ▲0.06 | 50.61 ▼1.38 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 50.21 ▲3.18 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 93.51 ▼572.44 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 34.61 ▲0.17 |
Church Dictionary /wp-admin/options-general.php?page=chdc_option | 3.02 | 32.33 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Church Dictionar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,687 ▲91 | 15.77 ▲0.14 | 9.31 ▼0.77 | 50.19 ▼5.84 |
Dashboard /wp-admin | 2,976 ▲42 | 5.88 ▼0.08 | 140.59 ▼20.98 | 121.53 ▲6.67 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.69 ▲0.00 | 68.31 ▼1.40 | 94.91 ▲3.20 |
Add New Post /wp-admin/post-new.php | 1,690 ▲7 | 18.59 ▼0.13 | 391.93 ▼5.69 | 119.90 ▲6.46 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 5.05 ▲0.04 | 160.08 ▲5.02 | 122.86 ▼2.06 |
Church Dictionary /wp-admin/options-general.php?page=chdc_option | 1,184 | 2.30 | 59.46 | 100.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/church-dictionary/admin/sia_chdc_admin.php
- > /wp-content/plugins/church-dictionary/arr.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #1 in church-dictionary/assets to your readme.txt
church-dictionary/sia-chdc.php 92% from 13 tests
"Church Dictionar" version 1.10.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("church-dictionary.php" instead of "sia-chdc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3,313 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 63 | 43 | 2,772 |
CSS | 2 | 35 | 4 | 401 |
PO File | 1 | 20 | 20 | 82 |
JavaScript | 3 | 18 | 46 | 29 |
Markdown | 1 | 17 | 0 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/435.png | 47.04KB | 19.53KB | ▼ 58.47% |