Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/links-synthesis/core/utils.class.php+305
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.00ms] Passed 4 tests
Server-side resources used by Links synthesis
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.00 | 36.74 ▼3.39 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.46 ▼17.00 |
Posts /wp-admin/edit.php | 3.36 ▼0.00 | 45.15 ▼17.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▼0.00 | 83.64 ▼6.13 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 35.22 ▲0.34 |
Server storage [IO: ▲2.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 173 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_pluginSL_links_synthesis |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Links synthesis
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.33 ▼0.01 | 1.70 ▲0.14 | 35.18 ▼7.36 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.01 | 90.88 ▼9.07 | 39.93 ▼2.42 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.15 ▲0.15 | 34.24 ▼10.00 | 34.83 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.60 ▲0.75 | 679.59 ▲92.04 | 54.70 ▲2.93 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.02 | 97.14 ▼0.74 | 41.61 ▲0.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/links-synthesis/core.php
- > /wp-content/plugins/links-synthesis/links-synthesis.php
- > /wp-content/plugins/links-synthesis/core.class.php
- > /wp-content/plugins/links-synthesis/include/grabzit2.1.4/index.php
- > /wp-content/plugins/links-synthesis/include/grabzit2.1.4/ajax/results.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: message in wp-content/plugins/links-synthesis/include/grabzit2.1.4/handler.php on line 7
- > PHP Notice
Undefined index: format in wp-content/plugins/links-synthesis/include/grabzit2.1.4/handler.php on line 11
- > PHP Warning
require_once(core.php): failed to open stream: No such file or directory in wp-content/plugins/links-synthesis/core/templates/my-plugin.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'core.php' (include_path='.:/usr/share/php') in wp-content/plugins/links-synthesis/core/templates/my-plugin.php on line 18
- > PHP Notice
Undefined index: filename in wp-content/plugins/links-synthesis/include/grabzit2.1.4/handler.php on line 10
- > PHP Notice
Undefined index: id in wp-content/plugins/links-synthesis/include/grabzit2.1.4/handler.php on line 9
- > PHP Notice
Undefined index: customid in wp-content/plugins/links-synthesis/include/grabzit2.1.4/handler.php on line 8
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Links with issues), #2 (All Links), #3 (Some parameters)
links-synthesis/core.class.php 85% from 13 tests
"Links synthesis" version %s by %s', 'SL_frame...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("links-synthesis.php" instead of "core.class.php")
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "%s by %s', 'SL_frame...")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin18,526 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,296 | 2,067 | 8,595 |
PO File | 32 | 3,839 | 0 | 8,371 |
JavaScript | 7 | 220 | 240 | 932 |
CSS | 12 | 93 | 13 | 513 |
Markdown | 1 | 20 | 0 | 84 |
JSON | 1 | 0 | 0 | 29 |
INI | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 119)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 55.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 398.00 |
Average method complexity | 7.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 119.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 197 | |
▷ Static methods | 36 | 18.27% |
▷ Public methods | 189 | 95.94% |
▷ Protected methods | 3 | 1.52% |
▷ Private methods | 5 | 2.54% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 59 | |
▷ Global constants | 1 | 1.69% |
▷ Class constants | 58 | 98.31% |
▷ Public constants | 58 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
37 PNG files occupy 0.74MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/img/tab_trad.png | 0.90KB | 1.08KB | 0.00% |
core/img/info.png | 4.30KB | 1.51KB | ▼ 64.82% |
core/img/flags_sprite.png | 30.37KB | 15.11KB | ▼ 50.23% |
img/icon-256x256.png | 48.50KB | 15.30KB | ▼ 68.45% |
core/img/tab_plug.png | 0.71KB | 0.52KB | ▼ 27.30% |