Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.37ms] Passed 4 tests
An overview of server-side resources used by Nightingale Companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.88 ▼8.15 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.82 ▼2.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 59.54 ▲14.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 106.35 ▲3.87 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.74 ▲0.92 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Nightingale Companion: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.32 ▲0.04 | 1.89 ▼0.12 | 45.12 ▲2.20 |
Dashboard /wp-admin | 2,195 ▲15 | 5.51 ▼0.14 | 86.26 ▼0.14 | 38.24 ▼0.54 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.08 | 41.61 ▲3.05 | 40.09 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,528 ▼7 | 23.08 ▲4.91 | 704.40 ▲96.42 | 55.08 ▼4.63 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.01 | 102.09 ▲4.62 | 43.77 ▲2.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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)
Good news, no errors were detected
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
Please fix the following
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/functionality/simple-meta.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/performance/disable-emojis.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/author-bio.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/audio-playback.php:96
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/login.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/social-sharing.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/nightingale-companion/display/social-links.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/posts-by-author.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nightingale-companion/display/customizer.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/nightingale-companion/display/partials/emergency-alert.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in nightingale-companion/assets to your readme.txt
nightingale-companion/nightingale-companion.php Passed 13 tests
The entry point to "Nightingale Companion" version 1.3.6 is a PHP file that has certain tags in its header comment area
50 characters long description:
A plugin to add in more functionality to the theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,993 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 229 | 456 | 1,669 |
JavaScript | 3 | 56 | 36 | 199 |
CSS | 1 | 8 | 9 | 76 |
Markdown | 2 | 38 | 0 | 49 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 145.00 |
▷ Minimum class complexity | 145.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 8.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 50.00% |
▷ Protected methods | 10 | 50.00% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 24 | 60.00% |
▷ Anonymous functions | 16 | 40.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