Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼138.54ms] Passed 4 tests
This is a short check of server-side resources used by Embedly Wall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.20 | 36.77 ▲11.98 |
Dashboard /wp-admin | 3.15 ▲0.09 | 50.39 ▲3.49 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 52.55 ▲4.67 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.07 | 96.62 ▼562.28 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 37.77 ▼0.02 |
Embedly Wall Settings /wp-admin/edit.php?post_type=embed&page=embedly-wall-settings | 3.06 | 25.50 |
Add New Embedly Wall Post /wp-admin/edit.php?post_type=embed&page=add-new-embedly-wall-post | 3.06 | 33.38 |
All Embeds /wp-admin/edit.php?post_type=embed | 3.13 | 38.03 |
Wall Narratives /wp-admin/edit-tags.php?taxonomy=narrative&post_type=embed | 3.09 | 31.32 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Embedly Wall
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,760 ▲164 | 15.91 ▼0.01 | 8.85 ▲0.11 | 53.44 ▲4.74 |
Dashboard /wp-admin | 3,019 ▲85 | 6.13 ▲0.14 | 152.74 ▲2.89 | 122.84 ▲2.51 |
Posts /wp-admin/edit.php | 2,790 ▲51 | 2.69 ▲0.00 | 76.26 ▲5.11 | 89.54 ▼8.80 |
Add New Post /wp-admin/post-new.php | 1,649 ▼34 | 21.42 ▲2.97 | 275.58 ▼122.23 | 113.98 ▲4.08 |
Media Library /wp-admin/upload.php | 1,784 ▲36 | 5.06 ▲0.07 | 163.10 ▲15.56 | 125.35 ▲0.68 |
Embedly Wall Settings /wp-admin/edit.php?post_type=embed&page=embedly-wall-settings | 1,194 | 2.21 | 58.91 | 83.63 |
Add New Embedly Wall Post /wp-admin/edit.php?post_type=embed&page=add-new-embedly-wall-post | 1,214 | 2.09 | 56.85 | 73.30 |
All Embeds /wp-admin/edit.php?post_type=embed | 1,444 | 2.63 | 73.34 | 83.66 |
Wall Narratives /wp-admin/edit-tags.php?taxonomy=narrative&post_type=embed | 1,787 | 2.52 | 66.78 | 87.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/embedy-wall/templates/embed_template.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embedy-wall/templates/embed_template.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/embedy-wall/admin/embedly-wall-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/embedy-wall/admin/embedly-wall-add-new.php:47
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embedy-wall/templates/embed_template.php on line 10
- > PHP Notice
Undefined variable: embed in wp-content/plugins/embedy-wall/templates/embed_template.php on line 10
- > PHP Notice
Undefined variable: embed in wp-content/plugins/embedy-wall/templates/embed_template.php on line 18
- > PHP Notice
Undefined variable: embed in wp-content/plugins/embedy-wall/templates/embed_template.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embedy-wall/templates/embed_template.php on line 15
- > PHP Notice
Undefined variable: embed in wp-content/plugins/embedy-wall/templates/embed_template.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embedy-wall/templates/embed_template.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== embedy-wall ===
)
embedy-wall/embedly-wall.php 92% from 13 tests
Analyzing the main PHP file in "Embedly Wall" version 1.1
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("embedy-wall.php" instead of "embedly-wall.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin548 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 109 | 32 | 528 |
CSS | 1 | 3 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.81MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 113.00KB | 42.04KB | ▼ 62.80% |
assets/screenshot-1.png | 113.40KB | 38.52KB | ▼ 66.03% |
assets/screenshot-6.png | 148.70KB | 51.74KB | ▼ 65.20% |
assets/screenshot-5.png | 310.91KB | 100.61KB | ▼ 67.64% |
assets/screenshot-4.png | 63.47KB | 25.24KB | ▼ 60.23% |