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.02MB] [CPU: ▼2.87ms] Passed 4 tests
Server-side resources used by Bg Orthodox Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.89 ▼4.80 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.49 ▼10.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.42 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.33 ▲7.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.57 ▲1.46 |
Православный календарь /wp-admin/options-general.php?page=bg-orthodox-calendar/bg_ortcal.php | 3.22 | 34.14 |
Server storage [IO: ▲1.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 36 new options
New WordPress options |
---|
bg_ortcal_linkImage |
bg_ortcal_otherBgColor |
bg_ortcal_popmenu101 |
bg_ortcal_Zindex |
bg_ortcal_weddingColor |
bg_ortcal_popmenu3 |
bg_ortcal_overBgColor |
bg_ortcal_page |
bg_ortcal_popmenu1002 |
bg_ortcal_popmenu1001 |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Bg Orthodox Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 13.21 ▼1.35 | 2.66 ▲0.64 | 40.95 ▼7.51 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▼0.05 | 98.32 ▼15.06 | 37.24 ▼8.30 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.01 | 39.54 ▲4.14 | 36.51 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.25 ▼0.09 | 677.46 ▲5.63 | 56.12 ▼2.17 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.18 ▲0.01 | 96.02 ▼5.45 | 42.62 ▼1.59 |
Православный календарь /wp-admin/options-general.php?page=bg-orthodox-calendar/bg_ortcal.php | 3,072 | 1.73 | 31.57 | 48.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bg-orthodox-calendar/bg_ortcal.php
- > /wp-content/plugins/bg-orthodox-calendar/css/colors.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: orthodoxy, christianity, calendar
bg-orthodox-calendar/bg_ortcal.php 77% from 13 tests
The entry point to "Bg Orthodox Calendar" version 0.13.10 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: The principal plugin file should be the same as the plugin slug ("bg-orthodox-calendar.php" instead of "bg_ortcal.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 385 characters long)
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
Success! There were no dangerous files found in this plugin34,359 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 0 | 0 | 30,652 |
PHP | 4 | 186 | 240 | 1,924 |
JavaScript | 5 | 107 | 56 | 1,145 |
CSS | 4 | 14 | 25 | 638 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
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 | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/separator2.png | 7.83KB | 3.85KB | ▼ 50.85% |
css/wedding_off.png | 0.15KB | 0.09KB | ▼ 37.25% |
css/separator.png | 27.60KB | 11.36KB | ▼ 58.84% |
css/nowedding_off.png | 0.15KB | 0.09KB | ▼ 37.25% |
css/wedding.png | 0.17KB | 0.10KB | ▼ 37.28% |