Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.36ms] Passed 4 tests
An overview of server-side resources used by Russian texts proofreader Glvrd
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.50 ▼2.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 40.94 ▼7.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.09 ▼11.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.65 ▼9.87 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.78 ▼4.50 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Russian texts proofreader Glvrd
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.58 ▼0.78 | 1.86 ▲0.17 | 37.76 ▼2.79 |
Dashboard /wp-admin | 2,208 ▲20 | 5.80 ▲0.93 | 97.36 ▼8.75 | 38.14 ▼2.63 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.04 ▲0.04 | 37.65 ▼11.76 | 34.22 ▼15.48 |
Add New Post /wp-admin/post-new.php | 6,498 ▲4,963 | 20.31 ▼2.73 | 893.64 ▲225.85 | 52.74 ▲0.28 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.23 ▼0.00 | 95.59 ▼16.20 | 42.05 ▼3.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/russian-texts-proofreader-glvrd/glvrd.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: glavred, text, posts, proofread, russian...
russian-texts-proofreader-glvrd/glvrd.php 92% from 13 tests
"Russian texts proofreader Glvrd" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("russian-texts-proofreader-glvrd.php" instead of "glvrd.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin665 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 86 | 29 | 466 |
CSS | 1 | 29 | 0 | 122 |
PHP | 1 | 18 | 30 | 69 |
SVG | 1 | 0 | 1 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 5 | |
▷ Named functions | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.52MB with 0.32MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/glvrd-icon.png | 10.33KB | 4.02KB | ▼ 61.06% |
screenshot-1.png | 517.17KB | 213.77KB | ▼ 58.67% |
images/glvrd.png | 1.70KB | 0.58KB | ▼ 65.54% |