Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼44.00ms] Passed 4 tests
Server-side resources used by Ciusan Nice Scroll
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 13.04 ▼23.14 |
Dashboard /wp-admin | 2.78 ▼0.52 | 15.93 ▼38.67 |
Posts /wp-admin/edit.php | 2.78 ▼0.57 | 20.64 ▼34.39 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.10 | 17.20 ▼79.78 |
Media Library /wp-admin/upload.php | 2.78 ▼0.45 | 19.79 ▼12.73 |
Submit a Donation /wp-admin/admin.php?page=ciusan-submit-donation | 2.78 | 17.40 |
Nice Scroll /wp-admin/admin.php?page=ciusan-nice-scroll | 2.78 | 16.33 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ciusan Nice Scroll
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲218 | 13.79 ▼0.58 | 5.87 ▲4.10 | 40.22 ▼1.36 |
Dashboard /wp-admin | 2,252 ▲67 | 5.11 ▲0.21 | 104.48 ▼7.70 | 80.32 ▲36.92 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.52 ▲0.47 | 39.85 ▼10.20 | 37.01 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,707 ▲193 | 22.41 ▲4.95 | 737.72 ▲67.11 | 36.56 ▼15.76 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.37 ▲0.10 | 111.76 ▲14.50 | 44.74 ▲3.07 |
Submit a Donation /wp-admin/admin.php?page=ciusan-submit-donation | 808 | 2.19 | 25.48 | 22.51 |
Nice Scroll /wp-admin/admin.php?page=ciusan-nice-scroll | 864 | 2.26 | 31.23 | 30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/ciusan-nice-scroll/ciusan-nice-scroll.php+65
Use of undefined constant ciusan_admin__head - assumed 'ciusan_admin__head' (this will throw an Error in a future version of PHP)
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > Warning in wp-content/plugins/ciusan-nice-scroll/ciusan-nice-scroll.php+65
Use of undefined constant ciusan_admin__head - assumed 'ciusan_admin__head' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=ciusan-submit-donation
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'ciusan_submit_donation' not found or invalid function name
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > Warning in wp-content/plugins/ciusan-nice-scroll/admin_menu.php+15
Use of undefined constant CSN_Enable - assumed 'CSN_Enable' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > Notice in wp-content/plugins/ciusan-nice-scroll/admin_menu.php+15
Trying to access array offset on value of type bool
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 items
- 1× 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/ciusan-nice-scroll/ciusan-nice-scroll.php:22
- > 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)
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > Network (severe)
wp-content/plugins/ciusan-nice-scroll/assets/css/ciusan.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-nice-scroll
- > Network (severe)
wp-content/plugins/ciusan-nice-scroll/assets/js/ciusan.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not 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
These attributes need to be fixed:
- Screenshots: Screenshot #1 (All settings on WP Dashboard.) image required
ciusan-nice-scroll/ciusan-nice-scroll.php Passed 13 tests
The principal PHP file in "Ciusan Nice Scroll" v. 1.0 is loaded by WordPress automatically on each request
53 characters long description:
Nice scrollbars with a very similar ios/mobile style.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin387 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3 | 2 | 154 |
JavaScript | 3 | 3 | 1 | 134 |
PHP | 3 | 4 | 24 | 99 |
PHP code Passed 2 tests
A brief analysis 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.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
2 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.98KB | 7.31KB | ▼ 72.92% |
assets/img/ciusan.png | 22.87KB | 0.53KB | ▼ 97.67% |