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 gracefully, with no errors
Server metrics [RAM: ▲4.59MB] [CPU: ▲17.09ms] 75% from 4 tests
Server-side resources used by NoFollow jQuery Links
Please have a look at the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,622.26ms on /wp-admin/admin.php?page=nofollow-jquery-links)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.46 ▲5.00 | 89.44 ▲46.40 |
Dashboard /wp-admin | 8.48 ▲5.14 | 73.24 ▲8.02 |
Posts /wp-admin/edit.php | 8.48 ▲5.13 | 67.00 ▲17.95 |
Add New Post /wp-admin/post-new.php | 8.96 ▲3.08 | 116.48 ▲15.15 |
Media Library /wp-admin/upload.php | 8.48 ▲5.26 | 62.31 ▲27.25 |
NoFollow jQuery Links /wp-admin/admin.php?page=nofollow-jquery-links | 8.48 | 1,622.26 |
Freemius Debug [v.2.4.4] /wp-admin/admin.php?page=freemius | 8.48 | 51.84 |
Server storage [IO: ▲3.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 182 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
fs_accounts |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
fs_gdpr |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NoFollow jQuery Links
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲181 | 13.57 ▼0.81 | 5.69 ▲3.92 | 33.72 ▼8.53 |
Dashboard /wp-admin | 2,224 ▲36 | 4.83 ▼1.07 | 99.54 ▼12.73 | 42.33 ▼2.38 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.03 ▲0.04 | 38.02 ▲2.17 | 34.32 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.21 ▼0.05 | 635.13 ▼15.44 | 57.89 ▼7.07 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.15 ▲0.01 | 94.96 ▼3.11 | 47.86 ▲2.38 |
NoFollow jQuery Links /wp-admin/admin.php?page=nofollow-jquery-links | 1,094 | 2.09 | 25.88 | 52.62 |
Freemius Debug [v.2.4.4] /wp-admin/admin.php?page=freemius | 1,035 | 1.72 | 25.31 | 24.66 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/nofollow-jquery-links/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- db_upgraded
- fs_active_plugins
- fs_debug_mode
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- fs_accounts
- fs_gdpr
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: seo, link juice, jquery, internal linking, crawl
nofollow-jquery-links/nex-tm-jslink.php 85% from 13 tests
This is the main PHP file of "NoFollow jQuery Links" version 1.5.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nofollow-jquery-links.php" instead of "nex-tm-jslink.php")
- Description: The description should be shorter than 140 characters (currently 208 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected44,047 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 7,258 | 16,111 | 30,385 |
PO File | 10 | 6,097 | 7,340 | 13,123 |
JavaScript | 5 | 51 | 74 | 283 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
CSS | 11 | 0 | 0 | 14 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 88.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 2 | 4.35% |
▷ Concrete classes | 44 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 1,138 | |
▷ Static methods | 173 | 15.20% |
▷ Public methods | 798 | 70.12% |
▷ Protected methods | 15 | 1.32% |
▷ Private methods | 325 | 28.56% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 100.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
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
jslink.png | 1.18KB | 1.12KB | ▼ 4.98% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
jslink_blank.png | 1.24KB | 1.15KB | ▼ 7.11% |
jslink_remove.png | 1.27KB | 1.17KB | ▼ 8.13% |