Benchmarks
Plugin footprint 65% 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.51MB] [CPU: ▼5.67ms] Passed 4 tests
A check of server-side resources used by RDP Wiki Embed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 41.68 ▼0.37 |
Dashboard /wp-admin | 3.88 ▲0.53 | 55.55 ▼9.97 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 52.07 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 95.96 ▼14.67 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 44.76 ▲8.81 |
RDP Wiki /wp-admin/options-general.php?page=rdp-wiki-embed | 3.73 | 37.82 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/rdp-wiki-embed/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 79 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_rdp_wiki_embed |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by RDP Wiki Embed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 14.13 ▼0.29 | 4.67 ▲2.76 | 43.27 ▲1.68 |
Dashboard /wp-admin | 2,236 ▲33 | 5.05 ▲0.15 | 107.87 ▲3.23 | 42.62 ▼3.04 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 2.11 ▲0.07 | 37.25 ▼3.72 | 32.87 ▼4.14 |
Add New Post /wp-admin/post-new.php | 1,637 ▲111 | 23.23 ▲5.65 | 695.47 ▲34.50 | 68.27 ▲9.57 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.39 ▲0.16 | 117.81 ▲19.93 | 46.19 ▲3.46 |
RDP Wiki /wp-admin/options-general.php?page=rdp-wiki-embed | 1,008 | 1.80 | 25.96 | 30.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_rdp_wiki_embed
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 | 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
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rdp-wiki-embed/bl/rdpWEUtilities.php
- > /wp-content/plugins/rdp-wiki-embed/pl/rdpWEAdminMenu.php
- > /wp-content/plugins/rdp-wiki-embed/pl/rdpWE.php
- > /wp-content/plugins/rdp-wiki-embed/bl/simple_html_dom.php
- > /wp-content/plugins/rdp-wiki-embed/bl/rdpWEContent.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=rdp-wiki-embed
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
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 need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Settings page), #2 (Media button to launch shortcode embed helper form), #3 (Shortcode embed helper form)
- Plugin Name: Please specify the plugin name on the first line (
=== rdp-wiki-embed ===
)
rdp-wiki-embed/index.php 92% from 13 tests
The entry point to "RDP Wiki Embed" version 1.2.19 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rdp-wiki-embed.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin6,995 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 643 | 170 | 4,045 |
PHP | 7 | 504 | 420 | 2,770 |
JavaScript | 5 | 29 | 6 | 149 |
SVG | 12 | 0 | 0 | 31 |
PHP code Passed 2 tests
This is a very shot 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.43 |
Average class complexity | 76.75 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 46 | 29.49% |
▷ Public methods | 129 | 82.69% |
▷ Protected methods | 16 | 10.26% |
▷ Private methods | 11 | 7.05% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 100.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
42 compressed PNG files occupy 0.29MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pl/css/images/search-fade.png | 0.09KB | 0.14KB | 0.00% |
pl/css/images/Monobook-bullet-star.png | 0.27KB | 0.21KB | ▼ 22.06% |
pl/css/images/icon.png | 0.46KB | 0.61KB | 0.00% |
pl/css/images/border1.png | 0.61KB | 0.82KB | 0.00% |
pl/css/images/bullet-icon.png | 0.10KB | 0.10KB | 0.00% |