Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.20MB] [CPU: ▼20.09ms] Passed 4 tests
Analyzing server-side resources used by Rank With Schema
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 33.15 ▼6.89 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.49 ▼17.38 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 47.14 ▲0.10 |
Add New Post /wp-admin/post-new.php | 4.73 ▼1.15 | 40.63 ▼56.18 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.81 ▲2.57 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_rwssn_schemas |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
schema_display_format |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Rank With Schema
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 13.59 ▼0.80 | 5.85 ▲4.00 | 40.33 ▼2.97 |
Dashboard /wp-admin | 2,224 ▲33 | 5.83 ▲0.02 | 104.54 ▼0.85 | 39.16 ▼10.42 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.99 ▼0.01 | 35.01 ▼0.66 | 33.12 ▲1.15 |
Add New Post /wp-admin/post-new.php | 8,803 ▲7,275 | 19.42 ▲0.83 | 947.90 ▲343.44 | 82.33 ▲26.51 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.20 ▼0.04 | 97.42 ▼3.28 | 41.40 ▼0.98 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- schema_display_format
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
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 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in rank-with-schema/assets to your readme.txt
- Requires php: Version format is invalid
rank-with-schema/index.php 77% from 13 tests
The main PHP file in "Rank With Schema" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rank-with-schema.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 191 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,020 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 202 | 21 | 899 |
JavaScript | 4 | 11 | 22 | 115 |
CSS | 3 | 0 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
2 PNG files occupy 0.24MB with 0.18MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 95.22KB | 26.22KB | ▼ 72.46% |
assets/screenshot-1.png | 150.84KB | 36.77KB | ▼ 75.63% |