Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/wp-interactive-posts/index.php+363
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.06ms] Passed 4 tests
An overview of server-side resources used by WP Interactive Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.17 ▲1.92 |
Dashboard /wp-admin | 3.31 ▲0.00 | 55.62 ▲4.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.96 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.52 ▼12.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.25 ▼1.66 |
Server storage [IO: ▲0.22MB] [DB: ▲0.31MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Interactive Posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.16 ▼0.19 | 2.10 ▲0.46 | 40.32 ▼7.36 |
Dashboard /wp-admin | 2,192 ▲22 | 5.55 ▼0.13 | 91.09 ▼17.42 | 37.82 ▼0.68 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▼0.01 | 40.08 ▼0.31 | 35.55 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.91 ▼0.25 | 654.64 ▼46.72 | 67.35 ▲5.06 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.02 | 99.75 ▼2.11 | 47.21 ▲2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/wp-interactive-posts/index.php on line 363
- > PHP Parse 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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Screenshot #1 (WP Interactive Post sharing.) image missing
wp-interactive-posts/index.php 92% from 13 tests
Analyzing the main PHP file in "WP Interactive Posts" version 1.1
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-interactive-posts.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected316 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 8 | 316 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.94 |
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 | 7 | |
▷ Named functions | 7 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 109.65KB | 35.89KB | ▼ 67.26% |