Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.45ms] Passed 4 tests
A check of server-side resources used by Tech Radar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.35 ▼2.41 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.97 ▼6.46 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.10 ▲5.05 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.87 ▼5.86 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.58 ▼3.07 |
Tech Radar /wp-admin/options-general.php?page=tech_radar | 3.22 | 30.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Tech Radar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲164 | 13.99 ▼0.43 | 4.87 ▲2.77 | 39.52 ▼6.21 |
Dashboard /wp-admin | 2,228 ▲40 | 5.79 ▲0.75 | 95.89 ▼19.83 | 37.06 ▼11.89 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.03 | 37.84 ▲0.86 | 38.36 ▲4.84 |
Add New Post /wp-admin/post-new.php | 1,533 ▼5 | 23.39 ▲0.22 | 664.67 ▼15.89 | 62.68 ▼7.01 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.20 ▼0.03 | 96.36 ▼4.40 | 41.37 ▼3.57 |
Tech Radar /wp-admin/options-general.php?page=tech_radar | 945 | 2.02 | 27.32 | 30.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=tech_radar
- > Warning in wp-content/plugins/tech-radar/index.php+148
Invalid argument supplied for foreach()
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tech-radar/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Donate link: Invalid URI ("-")
- Screenshots: No descriptions were found for these screenshots #1, #2 in tech-radar/assets to your readme.txt
tech-radar/index.php 92% from 13 tests
"Tech Radar" version 1.1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tech-radar.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin658 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 0 | 382 |
PHP | 1 | 38 | 25 | 257 |
JavaScript | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 16 | |
▷ Named functions | 16 | 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
There are no PNG files in this plugin