Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.91MB] [CPU: ▼171.73ms] Passed 4 tests
Analyzing server-side resources used by Ntshka Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 32.90 ▲7.78 |
Dashboard /wp-admin | 2.74 ▼0.31 | 26.47 ▼19.40 |
Posts /wp-admin/edit.php | 2.74 ▼0.36 | 21.00 ▼22.29 |
Add New Post /wp-admin/post-new.php | 2.74 ▼2.69 | 23.16 ▼631.30 |
Media Library /wp-admin/upload.php | 2.74 ▼0.26 | 19.22 ▼13.94 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Ntshka Addons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲196 | 16.25 ▲0.51 | 9.67 ▼2.62 | 52.94 ▲4.26 |
Dashboard /wp-admin | 3,056 ▲125 | 6.08 ▲0.14 | 145.95 ▼5.71 | 110.65 ▲5.26 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 2.72 ▲0.00 | 69.21 ▼3.04 | 91.55 ▲6.55 |
Add New Post /wp-admin/post-new.php | 1,696 ▼1,991 | 18.83 ▲3.69 | 418.62 ▼116.64 | 110.74 ▲3.22 |
Media Library /wp-admin/upload.php | 1,843 ▲36 | 5.04 ▲0.00 | 154.45 ▼18.04 | 117.23 ▲1.99 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/ntshka-timeline.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/ntshka-card2.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/ntshka-faq.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/ntshka-card.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/ntshka-date.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/headline-ntshka.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ntashka-addons/widgets/pricing-ntshka.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: widgets, date, elementor widgets, timeline, elementor
ntashka-addons/ntshka-addons.php 92% from 13 tests
"Ntshka Addons" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ntashka-addons.php" instead of "ntshka-addons.php")
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
No dangerous file extensions were detected6,368 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 4,105 |
PHP | 9 | 154 | 144 | 1,224 |
CSS | 2 | 103 | 39 | 952 |
JavaScript | 2 | 10 | 63 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 2.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 66 | |
▷ Static methods | 1 | 1.52% |
▷ Public methods | 59 | 89.39% |
▷ Protected methods | 7 | 10.61% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 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
There are no PNG files in this plugin