Benchmarks
Plugin footprint 83% 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.63MB] [CPU: ▼18.46ms] Passed 4 tests
This is a short check of server-side resources used by NinjaSEO by 500apps – WordPress SEO Plugin To Improve Search Engine Rankings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.17 ▼5.59 |
Dashboard /wp-admin | 3.39 ▲0.05 | 49.06 ▼8.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 61.48 ▲15.12 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 31.70 ▼61.75 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 36.48 ▲2.48 |
NinjaSEO /wp-admin/admin.php?page=ninjaseo/classes/class.ninjaseoplugin_ninjaseo.php | 3.28 | 31.32 |
Other Apps /wp-admin/admin.php?page=Other | 3.28 | 37.66 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
NinjaSEO by 500apps – WordPress SEO Plugin To Improve Search Engine Rankings: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.78 ▼0.54 | 1.74 ▲0.10 | 43.36 ▲5.33 |
Dashboard /wp-admin | 2,390 ▲202 | 5.48 ▼0.42 | 99.64 ▼4.07 | 81.20 ▲43.92 |
Posts /wp-admin/edit.php | 2,285 ▲193 | 2.51 ▲0.47 | 64.30 ▲29.07 | 54.21 ▲23.59 |
Add New Post /wp-admin/post-new.php | 6,274 ▲4,738 | 21.88 ▼1.36 | 926.49 ▲239.38 | 66.48 ▲12.18 |
Media Library /wp-admin/upload.php | 1,593 ▲208 | 4.64 ▲0.44 | 128.71 ▲31.24 | 48.13 ▲1.27 |
Crawl Map /wp-admin/admin.php?page=Crawl Map | 2,558 | 2.74 | 29.28 | 26.70 |
NinjaSEO /wp-admin/admin.php?page=ninjaseo/classes/class.ninjaseoplugin_ninjaseo.php | 2,564 | 2.85 | 29.76 | 23.97 |
Page Grader /wp-admin/admin.php?page=Page Grader | 2,805 | 19.38 | 333.26 | 36.59 |
Other Apps /wp-admin/admin.php?page=Other | 2,496 | 2.18 | 35.44 | 29.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 | 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
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ninjaseo/classes/frame.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ninjaseo/classes/ninjaseo_content.php:2
- > PHP Notice
Undefined variable: frame_url in wp-content/plugins/ninjaseo/classes/frame.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ninjaseo/ninjaseo.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ninjaseo/ninjaseo_functions.php:216
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ninjaseo/classes/ninjaseo_appup.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=Crawl Map
- > Javascript (severe) in unknown
/wp-content/plugins/ninjaseo/js/ninjaseo_admin.js?ver=1696891501 113:18 Uncaught TypeError: Cannot read properties of null (reading 'append')
- > GET request to /wp-admin/admin.php?page=ninjaseo/classes/class.ninjaseoplugin_ninjaseo.php
- > Javascript (severe) in unknown
/wp-content/plugins/ninjaseo/js/ninjaseo_admin.js?ver=1696891503 113:18 Uncaught TypeError: Cannot read properties of null (reading 'append')
- > GET request to /wp-admin/admin.php?page=Page Grader
- > Javascript (severe) in unknown
/wp-content/plugins/ninjaseo/js/ninjaseo_admin.js?ver=1696891505 113:18 Uncaught TypeError: Cannot read properties of null (reading 'append')
- > GET request to /wp-admin/admin.php?page=Other
- > Javascript (severe) in unknown
/wp-content/plugins/ninjaseo/js/ninjaseo_admin.js?ver=1696891506 113:18 Uncaught TypeError: Cannot read properties of null (reading 'append')
- > GET request to /wp-admin/admin.php?page=Other
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
ninjaseo/ninjaseo.php Passed 13 tests
This is the main PHP file of "NinjaSEO by 500apps – WordPress SEO Plugin To Improve Search Engine Rankings" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
139 characters long description:
NinjaSEO is an exclusive page grader and web crawler plugin to help website owners find and fix pressing issues to improve seo performance.
Code Analysis Passed 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,295 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 1,138 |
PHP | 7 | 74 | 70 | 807 |
CSS | 1 | 2 | 8 | 190 |
JavaScript | 1 | 5 | 23 | 136 |
INI | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 16 | 100.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 PNG files occupy 1.18MB with 0.81MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 81.59KB | 28.11KB | ▼ 65.55% |
assets/screenshot-6.png | 92.68KB | 31.02KB | ▼ 66.53% |
assets/screenshot-9.png | 74.30KB | 26.23KB | ▼ 64.70% |
assets/screenshot-7.png | 130.10KB | 34.38KB | ▼ 73.57% |
assets/screenshot-11.png | 137.17KB | 37.70KB | ▼ 72.52% |