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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.75ms] Passed 4 tests
Analyzing server-side resources used by Information Reel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 43.97 ▲4.54 |
Dashboard /wp-admin | 3.41 ▲0.07 | 46.72 ▼14.35 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 42.35 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 81.09 ▼16.45 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 35.87 ▲0.55 |
Information Reel /wp-admin/options-general.php?page=information-reel | 3.34 | 31.35 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_information_reel |
New WordPress options |
---|
IR_TextLength |
db_upgraded |
IR_random |
widget_theysaidso_widget |
widget_recent-posts |
widget_informationreel |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
IR_Title |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Information Reel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.26 ▼0.10 | 1.90 ▼0.07 | 45.21 ▲1.47 |
Dashboard /wp-admin | 2,199 ▲22 | 5.68 ▼0.01 | 97.43 ▲4.37 | 42.38 ▲5.48 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.03 | 32.42 ▼8.13 | 32.68 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.02 ▼0.09 | 648.99 ▲14.34 | 49.53 ▼5.84 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.19 ▼0.02 | 96.67 ▼6.92 | 43.08 ▼0.46 |
Information Reel /wp-admin/options-general.php?page=information-reel | 1,002 | 2.27 | 22.51 | 23.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_informationreel
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/information-reel/pages/content-management-edit.php
- > /wp-content/plugins/information-reel/pages/content-management-add.php
- > /wp-content/plugins/information-reel/pages/content-management-show.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/information-reel/information-reel.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/information-reel/information-reel.php:380
- > 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 96% from 29 tests
readme.txt Passed 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
5 plugin tags: scroll, announcement, scroller, text scroll, reel
information-reel/information-reel.php 92% from 13 tests
The principal PHP file in "Information Reel" v. 10.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,639 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 84 | 50 | 1,091 |
PO File | 3 | 187 | 287 | 431 |
JavaScript | 2 | 10 | 25 | 117 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin