Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.82ms] Passed 4 tests
An overview of server-side resources used by WP Instant Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.00 ▲0.54 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.85 ▲4.30 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.46 ▲4.22 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.52 ▼15.74 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 39.15 ▲3.70 |
WP Instant Links /wp-admin/admin.php?page=wp-instant-links | 3.27 | 32.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Instant Links: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.47 ▲0.05 | 2.30 ▲0.57 | 43.41 ▼2.59 |
Dashboard /wp-admin | 2,209 ▲24 | 4.81 ▼0.09 | 112.45 ▲8.61 | 39.63 ▼2.09 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.01 | 38.29 ▼5.11 | 35.23 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 22.97 ▼0.26 | 625.89 ▲9.63 | 60.18 ▲11.73 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.19 ▼0.03 | 97.62 ▼4.12 | 42.77 ▼1.06 |
WP Instant Links /wp-admin/admin.php?page=wp-instant-links | 926 | 2.03 | 23.50 | 26.20 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-instant-links/wp-instant-links.php
- > /wp-content/plugins/wp-instant-links/class-admin-page.php
- > /wp-content/plugins/wp-instant-links/class-wp-instant-links.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: prefetch, conversions, page speed, instant page, cdn...
wp-instant-links/wp-instant-links.php Passed 13 tests
The main PHP file in "WP Instant Links" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
130 characters long description:
Preload the next page the user is most likely to click to, resulting in super fast UX, and ultimately increasing your conversions.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin353 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 59 | 108 | 227 |
JavaScript | 1 | 30 | 3 | 105 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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