Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.95ms] Passed 4 tests
Analyzing server-side resources used by SEO Recipe Snippets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 37.86 ▲2.09 |
Dashboard /wp-admin | 3.08 ▲0.03 | 46.20 ▲4.22 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 45.20 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 85.45 ▼564.05 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 28.44 ▼0.30 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for SEO Recipe Snippets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.98 ▲0.06 | 8.98 ▲0.38 | 52.68 ▲7.42 |
Dashboard /wp-admin | 2,967 ▲33 | 5.84 ▼0.07 | 140.39 ▼4.56 | 114.84 ▼4.09 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.70 ▲0.00 | 68.05 ▼2.34 | 90.03 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,672 ▲91 | 18.86 ▼1.85 | 376.17 ▼17.34 | 108.52 ▼1.80 |
Media Library /wp-admin/upload.php | 1,804 ▼3 | 5.01 ▼0.02 | 148.39 ▼3.54 | 125.31 ▲3.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== recipe-snippets ===
) - Screenshots: Screenshot #1 (A Google search result with rich recipe snippets) image missing
recipe-snippets/recipe-snippets.php Passed 13 tests
"SEO Recipe Snippets" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
53 characters long description:
Add recipe snippets to Google search results for SEO.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin127 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 17 | 127 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 37.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.45MB with 0.31MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 457.31KB | 135.76KB | ▼ 70.31% |