Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼138.51ms] Passed 4 tests
Server-side resources used by Fetch URL - Fetch and Parse External Content
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 38.12 ▲11.86 |
Dashboard /wp-admin | 3.10 ▲0.04 | 47.35 ▼0.30 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 46.65 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 107.91 ▼554.51 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 36.94 ▲3.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Fetch URL - Fetch and Parse External Content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.78 ▲0.26 | 9.74 ▼0.19 | 50.50 ▲1.16 |
Dashboard /wp-admin | 2,967 ▲36 | 5.86 ▼0.07 | 137.36 ▼6.40 | 112.58 ▼11.61 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 72.46 ▲1.58 | 94.56 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,581 ▼102 | 18.17 ▼0.62 | 444.74 ▲52.65 | 153.47 ▲40.26 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 4.99 ▼0.03 | 163.93 ▲17.24 | 124.15 ▼4.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fetchurl/index.php:44
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: shortcode, post, parse, plugin, html...
fetchurl/index.php 85% from 13 tests
The main file in "Fetch URL - Fetch and Parse External Content" v. 3.04.26 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 152 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fetchurl.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected109 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 26 | 109 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.03 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin