Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.34ms] Passed 4 tests
An overview of server-side resources used by oik-nivo-slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.49 ▼0.64 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.07 ▼1.79 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.38 ▼4.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 78.80 ▼22.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.89 ▼0.97 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 85 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by oik-nivo-slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.14 ▼0.27 | 1.64 ▲0.10 | 39.97 ▼0.95 |
Dashboard /wp-admin | 2,199 ▲19 | 5.52 ▼0.14 | 81.62 ▼6.17 | 38.69 ▼1.71 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.06 | 34.94 ▲0.86 | 35.10 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 23.23 ▲0.21 | 630.22 ▼9.46 | 47.63 ▼5.42 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.21 ▲0.05 | 105.48 ▲4.99 | 46.29 ▲4.13 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oik-nivo-slider/oik-nivo-slider.php:79
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tested up to: Version format is invalid
- Screenshots: Add images for these screenshots: #1 (Nivo slider - default theme [nivo]), #2 (Nivo slider - bar theme [nivo theme=bar]), #3 (Nivo slider - dark theme [nivo theme=dark]), #4 (Nivo slider - light theme [nivo theme=light]), #5 (Nivo slider - oik theme - not hovered over [nivo theme=oik ]), #6 (Nivo slider - oik theme - image hovered over), #7 (Nivo slider - oik theme - caption hovered over), #8 (Nivo slider - default271 theme [nivo theme=default271]), #9 (Nivo slider - orman theme [nivo theme=orman]), #10 (Nivo slider - pascal theme [nivo theme=pascal]), #11 (Nivo slider - oik271 theme [nivo theme=oik271]), #12 (oik Nivo slider options page)
oik-nivo-slider/oik-nivo-slider.php Passed 13 tests
The principal PHP file in "oik-nivo-slider" v. 1.16.3 is loaded by WordPress automatically on each request
46 characters long description:
[nivo] shortcode for the Nivo slider using oik
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin4,104 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 244 | 239 | 1,619 |
CSS | 13 | 94 | 187 | 1,127 |
PHP | 4 | 95 | 581 | 608 |
Pascal | 1 | 45 | 268 | 506 |
PO File | 2 | 104 | 98 | 244 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
26 PNG files occupy 0.12MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/light/arrows.png | 3.17KB | 0.52KB | ▼ 83.49% |
themes/light/bullets.png | 3.21KB | 0.54KB | ▼ 83.24% |
themes/oik/arrows.png | 0.89KB | 0.54KB | ▼ 39.47% |
themes/pascal/arrows.png | 5.76KB | 2.00KB | ▼ 65.33% |
themes/orman/slider.png | 35.25KB | 9.03KB | ▼ 74.38% |