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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.14ms] Passed 4 tests
An overview of server-side resources used by Local Business Schema Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.64 ▼6.01 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.62 ▼1.55 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.95 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.46 ▲0.32 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.84 ▼0.76 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Local Business Schema Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.69 ▼0.04 | 1.72 ▼0.33 | 44.48 ▼0.38 |
Dashboard /wp-admin | 2,210 ▲30 | 5.56 ▼0.11 | 83.23 ▼9.12 | 72.85 ▲23.64 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.00 ▲0.00 | 39.65 ▼13.87 | 43.12 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 24.86 ▲1.96 | 715.39 ▼11.40 | 62.73 ▲8.13 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.22 ▲0.07 | 98.84 ▼13.75 | 68.99 ▲17.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: json-ld, local business, local optimization, seo optimization, local seo...
wpspeed-localbusiness-schema/wpspeed-localbusiness-schema.php Passed 13 tests
This is the main PHP file of "Local Business Schema Lite" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
56 characters long description:
Easily Add JSON-LD LocalBusiness Schema on your Website.
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
There were no executable files found in this plugin210 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 16 | 171 |
CSS | 1 | 9 | 6 | 39 |
PHP code Passed 2 tests
Analyzing 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.03 |
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 | 3 | |
▷ Global constants | 3 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wps-localbusiness.png | 15.96KB | 1.25KB | ▼ 92.15% |
images/icon-help.png | 0.68KB | 0.70KB | 0.00% |