Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.87ms] Passed 4 tests
Server-side resources used by RequestLogic
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.23 ▼2.45 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.57 ▼7.04 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.59 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.49 ▼4.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.36 ▼0.42 |
Server storage [IO: ▲3.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
RequestLogic: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.42 ▼0.96 | 1.62 ▼0.34 | 43.03 ▲0.43 |
Dashboard /wp-admin | 2,214 ▲29 | 5.15 ▼0.75 | 112.33 ▼14.15 | 88.56 ▲34.26 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.37 ▲0.32 | 38.32 ▲3.39 | 29.63 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.26 ▲5.71 | 756.87 ▲144.46 | 34.01 ▼20.19 |
Media Library /wp-admin/upload.php | 1,478 ▲87 | 4.35 ▲0.19 | 98.87 ▼1.18 | 67.95 ▲23.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/requestlogic/uninstall.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/requestlogic/templates/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/requestlogic/requestlogic.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: "-"
requestlogic/requestlogic.php Passed 13 tests
The primary PHP file in "RequestLogic" version 1.0.0 is used by WordPress to initiate all plugin functionality
104 characters long description:
This plugin is a marketing tool used to expand and manage your fan base and learn about their interests.
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
Success! There were no dangerous files found in this plugin264 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 30 | 34 | 123 |
CSS | 2 | 19 | 6 | 118 |
JavaScript | 2 | 4 | 6 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 2 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/img/RL_logo_850x200.png | 12.72KB | 5.83KB | ▼ 54.22% |
assets/img/logo.png | 10.29KB | 0.53KB | ▼ 94.84% |
templates/img/laptop.png | 32.36KB | 11.57KB | ▼ 64.25% |