Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.92ms] Passed 4 tests
A check of server-side resources used by WordPress Genially Embed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.63 ▼5.04 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.26 ▲1.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.07 ▼5.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.70 ▼21.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.53 ▲1.42 |
Genially /wp-admin/options-general.php?page=genially_embed | 3.21 | 30.27 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress Genially Embed: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.31 ▼1.07 | 1.71 ▲0.00 | 44.61 ▲2.40 |
Dashboard /wp-admin | 2,212 ▲27 | 5.80 ▼0.20 | 95.32 ▼6.66 | 37.83 ▼2.17 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▼0.01 | 34.31 ▼8.72 | 32.43 ▼6.04 |
Add New Post /wp-admin/post-new.php | 6,355 ▲4,813 | 27.62 ▲9.03 | 914.09 ▲250.80 | 58.24 ▲8.30 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.31 ▲0.09 | 102.63 ▼0.51 | 44.83 ▼3.03 |
Genially /wp-admin/options-general.php?page=genially_embed | 812 | 2.02 | 31.57 | 32.11 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genially-embed/genially-embed.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genially-embed/block/block.php:8
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Too many tags (63 tag instead of maximum 10); only the first 5 tags are used in your directory listing
genially-embed/genially-embed.php Passed 13 tests
"WordPress Genially Embed" version 4.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
WordPress Genially Embed plugin adding your Genially iframes to your website.
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 plugin814 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 5 | 0 | 316 |
PHP | 7 | 77 | 56 | 313 |
PO File | 2 | 29 | 40 | 102 |
JavaScript | 3 | 13 | 0 | 81 |
Markdown | 1 | 1 | 0 | 2 |
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.12 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 5 | 18.52% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icon-genially.png | 4.95KB | 2.52KB | ▼ 49.06% |
assets/images/icon-genially.png | 4.95KB | 2.52KB | ▼ 49.06% |
admin/images/logo.png | 28.93KB | 11.46KB | ▼ 60.39% |
(invalid) assets/images/._icon-genially.png | 4.00KB | 0.00KB | ▼ 100.00% |
assets/images/settings-genially-tinymce.png | 3.90KB | 2.05KB | ▼ 47.51% |