Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.07ms] Passed 4 tests
An overview of server-side resources used by Remote Content Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.65 ▲1.98 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.74 ▼13.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.86 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.10 ▼18.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.14 ▼2.23 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Remote Content Shortcode
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.20 | 1.76 ▲0.06 | 43.07 ▲4.32 |
Dashboard /wp-admin | 2,206 ▲14 | 5.05 ▲0.08 | 109.99 ▼8.22 | 41.54 ▼0.88 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.00 | 38.75 ▼0.75 | 34.49 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.58 ▼5.75 | 604.43 ▼83.59 | 44.33 ▼13.27 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.15 ▼0.09 | 96.43 ▼11.51 | 40.23 ▼7.22 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- 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 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 is_admin() in wp-content/plugins/remote-content-shortcode/remote-content-shortcode.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Shortcode example to fetch source from a WordPress Plugin Subversion Repository.), #2 (Displaying the contents of a PHP file from the WordPress Plugin Subversion Repository using SyntaxHighlighter.)
remote-content-shortcode/remote-content-shortcode.php Passed 13 tests
The primary PHP file in "Remote Content Shortcode" version 1.5 is used by WordPress to initiate all plugin functionality
37 characters long description:
Embed remote content with a shortcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,797 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 52 | 2,079 | 3,797 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 69.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 555.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 269 | |
▷ Static methods | 74 | 27.51% |
▷ Public methods | 222 | 82.53% |
▷ Protected methods | 43 | 15.99% |
▷ Private methods | 4 | 1.49% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin