Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.73ms] Passed 4 tests
This is a short check of server-side resources used by Saints
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.53 ▼4.91 |
Dashboard /wp-admin | 3.40 ▲0.10 | 58.24 ▲7.07 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.50 ▲2.93 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 126.46 ▲26.81 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.28 ▲1.81 |
Saints /wp-admin/options-general.php?page=saints_option | 3.29 | 36.57 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 8 new options
New WordPress options |
---|
link |
db_upgraded |
theysaidso_admin_options |
showicons |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Saints: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲19 | 13.23 ▲0.08 | 1.83 ▼0.17 | 39.87 ▼9.51 |
Dashboard /wp-admin | 2,214 ▲5 | 4.91 ▲0.06 | 111.12 ▼4.94 | 39.68 ▼4.86 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.06 ▼0.08 | 42.31 ▲5.67 | 37.85 ▲3.62 |
Add New Post /wp-admin/post-new.php | 1,530 ▲11 | 18.49 ▼4.72 | 592.44 ▼62.44 | 54.76 ▼8.97 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.17 ▼0.06 | 97.12 ▼5.08 | 41.12 ▼0.74 |
Saints /wp-admin/options-general.php?page=saints_option | 1,017 | 1.77 | 27.16 | 63.06 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- link
- widget_theysaidso_widget
- showicons
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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)
Good news, no errors were detected
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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/saints/saints.php
- > /wp-content/plugins/saints/admin/sia_admin.php
- > /wp-content/plugins/saints/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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:
- Screenshots: These screenshots need descriptions #1, #2 in saints/assets to your readme.txt
saints/saints.php Passed 13 tests
The primary PHP file in "Saints" version 1.10.4 is used by WordPress to initiate all plugin functionality
93 characters long description:
Плагин выводит жизнеописания Святых на любую дату.
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
Success! There were no dangerous files found in this plugin1,905 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 74 | 20 | 1,040 |
PHP | 4 | 58 | 150 | 437 |
JavaScript | 18 | 2 | 12 | 235 |
PO File | 1 | 29 | 35 | 145 |
Markdown | 1 | 22 | 0 | 48 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 23 | |
▷ Named functions | 23 | 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
2 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/decor.png | 40.65KB | 30.75KB | ▼ 24.35% |
admin/css/435.png | 47.04KB | 19.53KB | ▼ 58.47% |