Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼14.15ms] 75% from 4 tests
This is a short check of server-side resources used by Internal Link Flow & Topical Authority & Topical Map
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,766.41ms on /wp-admin/admin.php?page=internal-link-flow--topical-authority--topical-map)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 42.10 ▲1.31 |
Dashboard /wp-admin | 3.55 ▲0.24 | 29.02 ▼21.20 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 35.78 ▼6.79 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 68.30 ▼24.96 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 29.28 ▼3.64 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 3.99 | 36.34 |
Internal Link Flow & Topical Authority & Topical Map /wp-admin/admin.php?page=internal-link-flow--topical-authority--topical-map | 4.16 | 1,766.41 |
Server storage [IO: ▲3.90MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 189 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_internal_link_flow |
New WordPress options |
---|
internal_link_flow_version |
widget_theysaidso_widget |
fs_gdpr |
widget_recent-posts |
fs_debug_mode |
widget_recent-comments |
theysaidso_admin_options |
fs_accounts |
fs_active_plugins |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Internal Link Flow & Topical Authority & Topical Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲128 | 13.27 ▼1.10 | 1.74 ▼0.34 | 33.24 ▼15.22 |
Dashboard /wp-admin | 2,285 ▲97 | 5.86 ▲0.83 | 103.16 ▼12.80 | 42.54 ▼1.66 |
Posts /wp-admin/edit.php | 2,178 ▲89 | 2.01 ▲0.02 | 40.85 ▲4.83 | 37.91 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.38 ▲0.25 | 651.93 ▼10.61 | 61.62 ▲10.57 |
Media Library /wp-admin/upload.php | 1,476 ▲94 | 4.23 ▲0.02 | 98.30 ▲0.13 | 43.83 ▼5.10 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,135 | 1.85 | 25.65 | 26.42 |
Internal Link Flow & Topical Authority & Topical Map /wp-admin/admin.php?page=internal-link-flow--topical-authority--topical-map | 1,040 | 1.68 | 27.50 | 57.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_internal_link_flow
- Zombie WordPress options were found after uninstall: 11 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- internal_link_flow_version
- db_upgraded
- fs_gdpr
- fs_debug_mode
- fs_active_plugins
- ...
Smoke tests 75% 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 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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/internal-link-flow-topical-authority-topical-map/includes/class_ilf_create_admin_menu.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/internal-link-flow-topical-authority-topical-map/includes/class_ilf_create_flow_routes.php:15
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/internal-link-flow-topical-authority-topical-map/includes/class_ilf_create_flow_routes.php on line 14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: internal link, flow, external link, topical map, seo...
internal-link-flow-topical-authority-topical-map/internal-link-flow.php 77% from 13 tests
"Internal Link Flow & Topical Authority & Topical Map" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("internal-link-flow-topical-authority-topical-map.php" instead of "internal-link-flow.php")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.4")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin34,664 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 8,011 | 17,220 | 33,223 |
CSS | 14 | 77 | 114 | 1,032 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 4 | 34 | 59 | 195 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 85.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,268 | |
▷ Static methods | 194 | 15.30% |
▷ Public methods | 886 | 69.87% |
▷ Protected methods | 17 | 1.34% |
▷ Private methods | 365 | 28.79% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/internal-link-flow--topical-authority--topical-map.png | 2.27KB | 1.05KB | ▼ 53.73% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |