Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼1.11ms] Passed 4 tests
This is a short check of server-side resources used by Event SEO: Event Schema / Structured Data: Google Rich Snippet Schema for Event
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 42.68 ▲1.82 |
Dashboard /wp-admin | 3.87 ▲0.57 | 53.24 ▲5.84 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 46.51 ▲2.15 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 80.64 ▼9.96 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 36.03 ▲1.55 |
Event Schema /wp-admin/options-general.php?page=event_schema | 3.41 | 31.19 |
Server storage [IO: ▲0.10MB] [DB: ▲0.04MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Event SEO: Event Schema / Structured Data: Google Rich Snippet Schema for Event
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.13 ▼1.22 | 5.15 ▲3.42 | 44.24 ▼0.93 |
Dashboard /wp-admin | 2,287 ▲99 | 4.88 ▼0.16 | 115.17 ▲5.59 | 43.85 ▲5.37 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.02 | 34.27 ▼9.78 | 33.02 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 17.65 ▼0.76 | 668.75 ▲12.01 | 49.88 ▼3.05 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.24 ▼0.02 | 97.87 ▼2.64 | 42.52 ▼2.20 |
Event Schema /wp-admin/options-general.php?page=event_schema | 844 | 2.03 | 28.10 | 34.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
event-schema/event-schema.php Passed 13 tests
The primary PHP file in "Event SEO: Event Schema / Structured Data: Google Rich Snippet Schema for Event" version 1.1.1 is used by WordPress to initiate all plugin functionality
78 characters long description:
Event Schema is automatically generates Google Rich Snippet Schema for Events.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,454 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 230 | 509 | 1,229 |
CSS | 1 | 24 | 8 | 223 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 21.27 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 1 | 1.69% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.08% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/xt_logo.png | 8.77KB | 4.34KB | ▼ 50.47% |