Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼4.82ms] Passed 4 tests
Server-side resources used by Narnoo Operator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.80 ▼0.60 |
Dashboard /wp-admin | 3.35 ▲0.00 | 45.74 ▼11.93 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.24 ▲0.32 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.34 ▼7.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.83 ▲2.42 |
Server storage [IO: ▲2.85MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Narnoo Operator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.19 ▼0.21 | 2.03 ▲0.51 | 45.08 ▲3.43 |
Dashboard /wp-admin | 2,210 ▲41 | 5.58 ▼0.05 | 96.44 ▼2.62 | 72.78 ▲29.94 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 1.99 ▼0.05 | 34.91 ▼2.59 | 31.92 ▼4.86 |
Add New Post /wp-admin/post-new.php | 1,693 ▲167 | 22.40 ▼0.80 | 708.77 ▲60.42 | 60.61 ▲7.95 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.17 ▲0.05 | 93.79 ▼3.19 | 74.19 ▲27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/narnoo-shortcodes/libs/narnoo_flip_book/pages/content.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Narnoo_Shortcodes' not found in wp-content/plugins/narnoo-shortcodes/libs/narnoo_single_gallery/single_gallery.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/narnoo-shortcodes/narnoo-shortcodes.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/narnoo-shortcodes/libs/html/help_info_tpl.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/narnoo-shortcodes/libs/narnoo_video_player/player.php:3
- > PHP Fatal error
Uncaught Error: Class 'Narnoo_Shortcodes' not found in wp-content/plugins/narnoo-shortcodes/libs/narnoo_slider/slider.php:2
- > PHP Fatal error
Uncaught Error: Class 'Narnoo_Shortcodes' not found in wp-content/plugins/narnoo-shortcodes/libs/narnoo_flip_book/flipbook.php:3
- > PHP Fatal error
Uncaught Error: Class 'Narnoo_Shortcodes' not found in wp-content/plugins/narnoo-shortcodes/libs/narnoo_products/display.php:2
- > PHP Fatal error
Uncaught Error: Class 'Narnoo_Shortcodes' not found in wp-content/plugins/narnoo-shortcodes/libs/narnoo_gallery/gallery.php:2
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
- Screenshots: Please add images for these screenshots: #1 (This screen shot shows you how you can see the tourism distributor's that are following your product media.), #2 (This screen shot shows you how you can interact with your images hosted on Narnoo.com. You can download the high resolution version, add the image to an album or delete the image from Narnoo.com), #3 (This screen shot shows you how you can interact with your videos hosted on Narnoo.com. You can download the high definition version or delete the video from Narnoo.com.), #4 (This screen shot shows you the short code menu option. We have 4 different image display options, 1 video display option and a brochure display option. All are easily embedded using the Narnoo short code menu.), #5 (This screen shot is an example of the slider image gallery.), #6 (All images have a large image file that is displayed in an lightbox.)
narnoo-shortcodes/narnoo-shortcodes.php 92% from 13 tests
The main file in "Narnoo Operator" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
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 plugin48,882 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 5,102 | 3,917 | 46,335 |
CSS | 13 | 351 | 101 | 1,134 |
PHP | 9 | 231 | 94 | 645 |
SVG | 1 | 0 | 0 | 520 |
HTML | 2 | 278 | 131 | 248 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 14 | |
▷ Static methods | 5 | 35.71% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.11MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-16.png | 0.75KB | 0.86KB | 0.00% |
libs/narnoo_flip_book/img/icons.png | 45.67KB | 0.09KB | ▼ 99.79% |
libs/narnoo_single_gallery/imagebox/images/sprite.png | 2.50KB | 2.45KB | ▼ 2.03% |
libs/narnoo_flip_book/pages/logo.png | 1.88KB | 1.67KB | ▼ 11.21% |
libs/narnoo_single_gallery/images/zoom.png | 0.52KB | 0.40KB | ▼ 22.89% |