Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/seo-automatic-links/seo-links.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; SEOLinks has a deprecated constructor
Server metrics [RAM: ▼1.40MB] [CPU: ▼316.43ms] Passed 4 tests
A check of server-side resources used by SEO Smart Links
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼0.49 | 10.74 ▼13.18 |
Dashboard /wp-admin | 2.25 ▼0.80 | 10.30 ▼32.45 |
Posts /wp-admin/edit.php | 2.25 ▼0.85 | 6.80 ▼37.60 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.18 | 6.31 ▼1,165.28 |
Media Library /wp-admin/upload.php | 2.25 ▼0.75 | 5.58 ▼30.38 |
About /wp-admin/admin.php?page=sml_about | 2.25 | 7.17 |
Custom Keywords /wp-admin/admin.php?page=sml_custom_keywords | 2.25 | 7.12 |
Options /wp-admin/admin.php?page=sml_options | 2.25 | 6.52 |
Import/Export /wp-admin/admin.php?page=sml_import | 2.25 | 6.91 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 1 new option
New WordPress options |
---|
SEOLinks |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEO Smart Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,745 ▲139 | 16.30 ▲0.88 | 8.83 ▼0.92 | 44.73 ▲0.45 |
Dashboard /wp-admin | 2,995 ▲142 | 5.90 ▲0.05 | 141.21 ▲10.58 | 137.23 ▲34.23 |
Posts /wp-admin/edit.php | 2,764 ▲61 | 2.70 ▲0.01 | 59.62 ▼2.42 | 82.43 ▼5.78 |
Add New Post /wp-admin/post-new.php | 1,881 ▼155 | 19.12 ▲1.16 | 374.17 ▲19.68 | 106.43 ▼1.36 |
Media Library /wp-admin/upload.php | 1,759 ▼13 | 4.98 ▼0.00 | 125.32 ▼41.06 | 122.83 ▲7.71 |
About /wp-admin/admin.php?page=sml_about | 1,156 | 2.38 | 59.58 | 65.09 |
Custom Keywords /wp-admin/admin.php?page=sml_custom_keywords | 1,223 | 2.39 | 57.32 | 73.85 |
Options /wp-admin/admin.php?page=sml_options | 1,629 | 2.46 | 58.05 | 83.46 |
Import/Export /wp-admin/admin.php?page=sml_import | 1,229 | 2.52 | 58.59 | 79.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/seo-automatic-links/seo-links.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; SEOLinks has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 option in the database
- SEOLinks
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sml_import
- > Deprecated in wp-content/plugins/seo-automatic-links/seo-links.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; SEOLinks has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=sml_about
- > Notice in wp-content/plugins/seo-automatic-links/seo-links.php+850
Undefined variable: upd_msg
- > GET request to /wp-admin/admin.php?page=sml_custom_keywords
- > Notice in wp-content/plugins/seo-automatic-links/seo-links.php+1091
Undefined variable: table
- > GET request to /wp-admin/admin.php?page=sml_options
- > Notice in wp-content/plugins/seo-automatic-links/seo-links.php+1237
Undefined index: tax
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seo-automatic-links/seo-links.php:1622
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Plugin Admin Panel)
seo-automatic-links/seo-links.php 92% from 13 tests
This is the main PHP file of "SEO Smart Links" version 3.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("seo-automatic-links.php" instead of "seo-links.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,578 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 352 | 302 | 1,258 |
PHP | 1 | 453 | 27 | 1,218 |
CSS | 1 | 24 | 2 | 102 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 141)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 239.00 |
▷ Minimum class complexity | 239.00 |
▷ Maximum class complexity | 239.00 |
Average method complexity | 11.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 141.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
11 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/icon.png | 0.98KB | 0.81KB | ▼ 16.90% |
screenshot-1.png | 22.52KB | 22.01KB | ▼ 2.24% |
i/last.png | 0.72KB | 0.73KB | 0.00% |
i/logo.png | 2.14KB | 1.60KB | ▼ 25.35% |
i/first.png | 0.70KB | 0.72KB | 0.00% |