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.10MB] [CPU: ▼9.20ms] Passed 4 tests
An overview of server-side resources used by Ajar in5 Embed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.92 ▼3.96 |
Dashboard /wp-admin | 3.41 ▲0.06 | 48.80 ▼16.69 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.10 ▼1.80 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 90.00 ▼14.33 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.42 ▲1.79 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ajar in5 Embed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,195 ▲434 | 13.58 ▼0.77 | 8.35 ▲6.63 | 37.84 ▼3.93 |
Dashboard /wp-admin | 2,463 ▲283 | 5.92 ▲0.25 | 91.52 ▼8.50 | 83.51 ▲40.35 |
Posts /wp-admin/edit.php | 2,365 ▲265 | 2.41 ▲0.40 | 42.90 ▲3.29 | 38.63 ▲2.96 |
Add New Post /wp-admin/post-new.php | 6,451 ▲4,920 | 18.83 ▼4.11 | 933.59 ▲310.73 | 37.34 ▼20.43 |
Media Library /wp-admin/upload.php | 1,662 ▲262 | 4.33 ▲0.16 | 104.48 ▲2.42 | 75.61 ▲33.83 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/ajar-productions-in5-embed/in5-embed.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/ajar-productions-in5-embed/in5-embed.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: embed, banner, upload, html5, indesign...
ajar-productions-in5-embed/index.php 92% from 13 tests
"Ajar in5 Embed" version 3.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ajar-productions-in5-embed.php" instead of "index.php")
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 detected10,663 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,034 |
JavaScript | 9 | 245 | 493 | 2,483 |
PHP | 8 | 117 | 83 | 717 |
CSS | 4 | 60 | 12 | 351 |
Sass | 3 | 10 | 2 | 61 |
Markdown | 1 | 8 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 compressed PNG files occupy 0.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 128.21KB | 127.48KB | ▼ 0.57% |
assets/banner-772x250.png | 10.88KB | 10.96KB | 0.00% |
assets/screenshot-6.png | 4.99KB | 4.95KB | ▼ 0.69% |
assets/screenshot-2.png | 20.81KB | 21.21KB | 0.00% |
assets/screenshot-5.png | 11.47KB | 11.11KB | ▼ 3.13% |