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
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/inline-review/inc/review-display.php+16
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.48ms] Passed 4 tests
An overview of server-side resources used by Inline Review
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.18 ▲1.01 |
Dashboard /wp-admin | 3.38 ▲0.07 | 41.58 ▼4.81 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 43.78 ▼6.80 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 80.77 ▼15.31 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.34 ▲1.24 |
Inline Review Options /wp-admin/options-general.php?page=rview-admin | 3.27 | 29.81 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
nwxrview_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Inline Review
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 14.46 ▲0.08 | 1.83 ▲0.19 | 39.48 ▼4.41 |
Dashboard /wp-admin | 2,234 ▲46 | 5.84 ▼0.03 | 98.12 ▼6.61 | 37.24 ▼8.15 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.06 ▲0.06 | 35.72 ▼6.68 | 31.58 ▼7.11 |
Add New Post /wp-admin/post-new.php | 6,511 ▲4,997 | 25.82 ▲8.31 | 889.34 ▲265.00 | 69.62 ▲14.32 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.22 ▲0.02 | 94.75 ▼5.82 | 43.63 ▼0.26 |
Inline Review Options /wp-admin/options-general.php?page=rview-admin | 918 | 1.75 | 23.37 | 26.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- nwxrview_options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inline-review/inc/admin-settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inline-review/inc/add-review.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: review, reviews, products
inline-review/inline-review.php Passed 13 tests
The main file in "Inline Review" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
A Review engine for WordPress
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 plugin431 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 139 | 119 | 289 |
CSS | 4 | 34 | 7 | 141 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin