Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/tag-to-link-jqueryrank-sculpting/element-to-link.php+47
Undefined variable: instance
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.93ms] Passed 4 tests
A check of server-side resources used by Tag to Link / Element to a
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.80 ▼6.25 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.47 ▼6.59 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 54.57 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.41 ▼21.33 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.45 ▼1.56 |
Tag To Link /wp-admin/options-general.php?page=tag-to-link | 3.25 | 34.75 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_elmtToLink |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Tag to Link / Element to a
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲91 | 13.85 ▼0.77 | 8.69 ▲6.83 | 39.67 ▼3.39 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.06 | 101.55 ▲7.76 | 44.62 ▼0.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.01 | 40.32 ▲0.53 | 36.01 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.07 ▲0.06 | 654.74 ▼47.28 | 49.78 ▼3.17 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.02 | 105.10 ▲1.58 | 44.97 ▼1.89 |
Tag To Link /wp-admin/options-general.php?page=tag-to-link | 910 | 1.99 | 28.31 | 32.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 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)
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tag-to-link-jqueryrank-sculpting/element-to-link.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tag-to-link-jqueryrank-sculpting/element-to-link.php:20
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 28 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Exemple d'installation de la classe et de l'attribut (installation example).), #2 (Résultat de l'installation (result of the installation example).), #3 (Page des réglages (plugin settings).)
tag-to-link-jqueryrank-sculpting/element-to-link.php 85% from 13 tests
The main file in "Tag to Link / Element to a" v. 3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 387 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("tag-to-link-jqueryrank-sculpting.php" instead of "element-to-link.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected599 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 81 | 84 | 349 |
PHP | 2 | 18 | 25 | 133 |
JavaScript | 2 | 12 | 14 | 117 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.38MB with 0.19MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.55KB | 10.57KB | ▼ 48.55% |
screenshot-3.png | 133.14KB | 52.02KB | ▼ 60.93% |
screenshot-2.png | 235.07KB | 138.50KB | ▼ 41.08% |