Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.91ms] Passed 4 tests
An overview of server-side resources used by Navu: Engagement and Conversions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.07 ▲2.80 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.66 ▼14.27 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 43.75 ▲1.08 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.09 ▼15.68 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.13 ▼2.78 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.49 | 39.88 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.49 | 33.05 |
Navu Conversions /wp-admin/options-general.php?page=NavuConversions_PluginSettings | 3.34 | 31.47 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
category_children |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
NavuConversions_Plugin__installed |
NavuConversions_Plugin__version |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Navu: Engagement and Conversions
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.66 ▲0.31 | 1.66 ▲0.15 | 45.72 ▲5.92 |
Dashboard /wp-admin | 2,207 ▲27 | 5.55 ▼0.17 | 83.18 ▼3.14 | 36.52 ▼1.76 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.96 ▼0.08 | 33.03 ▼0.75 | 35.49 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 22.93 ▲0.04 | 672.71 ▲53.62 | 53.22 ▼9.32 |
Media Library /wp-admin/upload.php | 1,412 ▲18 | 4.13 ▼0.08 | 93.53 ▼12.47 | 41.95 ▼7.26 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,464 | 2.25 | 27.69 | 34.21 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,331 | 2.12 | 26.10 | 30.50 |
Navu Conversions /wp-admin/options-general.php?page=NavuConversions_PluginSettings | 917 | 1.99 | 21.38 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 9 options in the database
- category_children
- NavuConversions_Plugin__version
- NavuConversions_Plugin__installed
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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)
Everything seems fine, however 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
Please take a closer look at the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/navu-conversions/NavuConversions_Widgets.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/navu-conversions/NavuConversions_Widgets.php:7
- > PHP Warning
include_once(): Failed opening 'NavuConversion_ShortCodeLoader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/navu-conversions/NavuConversions_ShortCodeScriptLoader.php on line 22
- > PHP Warning
include_once(NavuConversion_ShortCodeLoader.php): failed to open stream: No such file or directory in wp-content/plugins/navu-conversions/NavuConversions_ShortCodeScriptLoader.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'NavuConversion_ShortCodeLoader' not found in wp-content/plugins/navu-conversions/NavuConversions_ShortCodeScriptLoader.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/navu-conversions/navu-conversions.php:78
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: favorites, marketing, search, navigation, conversion...
navu-conversions/navu-conversions.php Passed 13 tests
The principal PHP file in "Navu: Engagement and Conversions" v. 1.0.2 is loaded by WordPress automatically on each request
85 characters long description:
Use Navu's service to track conversions and target visitors with personalized content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin777 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 170 | 529 | 777 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 64.47% |
▷ Protected methods | 27 | 35.53% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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