Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.81ms] Passed 4 tests
An overview of server-side resources used by Ninja SEO Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.50 ▼0.49 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.30 ▼1.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.91 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.92 ▼13.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.01 ▲4.21 |
Ninja SEO Links /wp-admin/admin.php?page=ninja-seo-links | 3.21 | 33.13 |
Add new /wp-admin/admin.php?page=ninja-seo-links-add | 3.21 | 31.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ninja_seo_links |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
ninja_seo_links_db_version |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Ninja SEO Links
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲179 | 13.64 ▼1.01 | 5.18 ▲2.94 | 40.55 ▼4.57 |
Dashboard /wp-admin | 2,236 ▲45 | 5.90 ▲0.01 | 101.27 ▼3.63 | 39.67 ▼1.25 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 1.99 ▲0.01 | 41.37 ▲0.49 | 36.40 ▲1.84 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.56 ▲0.20 | 684.55 ▲81.11 | 61.76 ▲13.33 |
Media Library /wp-admin/upload.php | 1,409 ▲27 | 4.17 ▼0.02 | 96.52 ▼7.62 | 41.56 ▲1.26 |
Ninja SEO Links /wp-admin/admin.php?page=ninja-seo-links | 1,114 | 2.03 | 31.56 | 32.72 |
Add new /wp-admin/admin.php?page=ninja-seo-links-add | 1,024 | 2.16 | 26.99 | 33.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_ninja_seo_links
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- ninja_seo_links_db_version
- widget_recent-posts
- can_compress_scripts
- 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ninja-seo-links/includes/front.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ninja-seo-links/includes/admin.php:11
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ninja-seo-links/includes/list.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: internal links seo, ninja seo links, seo tools, seo links, seo
ninja-seo-links/ninja-seo-links.php Passed 13 tests
The primary PHP file in "Ninja SEO Links" version 0.1 is used by WordPress to initiate all plugin functionality
127 characters long description:
With Ninja SEO Links plugin you can automatically add strategic links to desired keywords in the entries of your Wordpress blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin430 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 64 | 104 | 419 |
JavaScript | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin