Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.87ms] Passed 4 tests
Server-side resources used by World of Warcraft Recruitment Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.01 ▼0.84 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.55 ▼5.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.19 ▲3.29 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.76 ▼9.71 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 32.68 ▲0.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_world_of_warcraft_recruitment_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for World of Warcraft Recruitment Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.34 ▼1.08 | 1.84 ▼0.31 | 47.22 ▲1.10 |
Dashboard /wp-admin | 2,203 ▲15 | 4.89 ▼0.03 | 110.80 ▼10.42 | 38.10 ▼6.88 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.03 | 40.82 ▲4.85 | 34.58 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,534 ▲14 | 23.45 ▲0.41 | 648.47 ▼32.21 | 54.81 ▲1.98 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.27 ▲0.11 | 103.53 ▼5.30 | 45.83 ▼2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_world_of_warcraft_recruitment_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/world-of-warcraft-recruitment-widget/world-of-warcraft-recruitment-widget.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
6 plugin tags: wow, recruitment, warcraft, widget, world of warcaft...
world-of-warcraft-recruitment-widget/world-of-warcraft-recruitment-widget.php Passed 13 tests
The main PHP script in "World of Warcraft Recruitment Widget" version 1.1.5 is automatically included on every request by WordPress
45 characters long description:
A simple to use WoW Recruitment Widget Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin120 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 25 | 90 |
PO File | 1 | 5 | 8 | 29 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected