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 gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.73ms] Passed 4 tests
This is a short check of server-side resources used by Embed Privacy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 47.39 ▲4.42 |
Dashboard /wp-admin | 3.38 ▲0.04 | 49.13 ▼14.76 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.26 ▲3.17 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.73 ▼8.45 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.35 ▲1.11 |
Embed Privacy /wp-admin/options-general.php?page=embed_privacy | 3.29 | 34.75 |
Server storage [IO: ▲0.39MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 78 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
embed_privacy_migrate_version |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Embed Privacy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲58 | 14.38 ▲0.15 | 1.97 ▲0.06 | 44.22 ▼1.45 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.00 | 88.32 ▼6.97 | 40.76 ▼1.12 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 39.76 ▲3.40 | 36.69 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.23 ▲0.21 | 665.82 ▼37.20 | 44.43 ▼13.13 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.26 ▲0.08 | 97.54 ▼1.09 | 41.69 ▼8.90 |
Embed Privacy /wp-admin/options-general.php?page=embed_privacy | 841 | 2.12 | 24.86 | 25.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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 | 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: privacy, oembed, gutenberg
embed-privacy/embed-privacy.php 92% from 13 tests
This is the main PHP file of "Embed Privacy" version 1.8.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin4,341 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 638 | 1,345 | 3,234 |
Markdown | 5 | 169 | 0 | 643 |
JavaScript | 6 | 81 | 117 | 279 |
CSS | 14 | 15 | 14 | 185 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 84.17 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 285.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 6 | 5.61% |
▷ Public methods | 75 | 70.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 32 | 29.91% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.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
41 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/embed-vimeo.png | 2.95KB | 3.17KB | 0.00% |
assets/images/embed-smugmug.png | 7.12KB | 5.31KB | ▼ 25.46% |
assets/images/embed-meetup.png | 2.46KB | 2.58KB | 0.00% |
assets/images/embed-wolfram-cloud.png | 3.31KB | 3.53KB | 0.00% |
assets/images/embed-pinterest.png | 1.03KB | 1.08KB | 0.00% |