Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.22ms] Passed 4 tests
A check of server-side resources used by Easy FAQ Schema Markup Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.20 ▲0.40 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.82 ▼3.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.57 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.04 ▲3.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.32 ▲0.59 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy FAQ Schema Markup Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.04 | 1.67 ▼0.09 | 39.83 ▼9.63 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼1.00 | 108.23 ▲6.94 | 38.34 ▼5.40 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.07 | 39.00 ▲4.38 | 34.91 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,514 ▼23 | 17.73 ▼5.50 | 620.92 ▼71.12 | 47.49 ▼7.83 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.04 | 98.19 ▼0.80 | 42.32 ▼4.65 |
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 detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-json-shortcode/easy-json-shortcode.php:41
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Screenshots of rich results for 1 question and answer), #2 (Screenshots of rich results from 3 questions and answers)
easy-json-shortcode/easy-json-shortcode.php Passed 13 tests
The principal PHP file in "Easy FAQ Schema Markup Shortcode" v. 1.2 is loaded by WordPress automatically on each request
86 characters long description:
This plugin inserts shortcodes to structure FAQs to schema for rich results on Google.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin63 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 32 | 63 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 2.24KB | 2.40KB | 0.00% |
banner-1544x500.png | 4.50KB | 5.08KB | 0.00% |
screenshot-2.png | 31.58KB | 32.62KB | 0.00% |
icon-256x256.png | 1.48KB | 1.54KB | 0.00% |
icon-128x128.png | 0.77KB | 0.81KB | 0.00% |