Benchmarks
Plugin footprint 65% 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: ▼1.69MB] [CPU: ▼50.35ms] Passed 4 tests
Analyzing server-side resources used by Neville Extensions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 10.80 ▼33.92 |
Dashboard /wp-admin | 2.31 ▼0.99 | 12.35 ▼40.82 |
Posts /wp-admin/edit.php | 2.31 ▼1.04 | 11.24 ▼41.48 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.57 | 12.68 ▼85.19 |
Media Library /wp-admin/upload.php | 2.31 ▼0.92 | 9.30 ▼27.39 |
Instagram Settings /wp-admin/options-general.php?page=nevillex-instagram-settings | 2.31 | 12.96 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_neville-w-das |
widget_neville-wid-instagram |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Neville Extensions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.41 ▼0.12 | 1.71 ▼0.42 | 42.02 ▼2.62 |
Dashboard /wp-admin | 2,203 ▲26 | 5.59 ▼0.08 | 85.11 ▼12.92 | 39.55 ▼2.87 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.04 ▲0.04 | 35.43 ▼4.45 | 34.56 ▼2.87 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,721 | 26.04 ▲2.88 | 930.20 ▲264.01 | 73.62 ▲16.49 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.20 ▼0.15 | 98.08 ▼6.70 | 43.36 ▼1.77 |
Instagram Settings /wp-admin/options-general.php?page=nevillex-instagram-settings | 840 | 2.02 | 27.78 | 32.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/neville-extensions/widgets/instagram/instagram-class.php+58
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_neville-w-das
- db_upgraded
- widget_neville-wid-instagram
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nevillex-instagram-settings
- > Notice in wp-content/plugins/neville-extensions/settings-pages/instagram.php+87
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Nevillex_Widgets_Base' not found in wp-content/plugins/neville-extensions/widgets/ads/ads.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neville-extensions/sections/init.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/neville-extensions/sections/category/category.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neville-extensions/widgets/init.php:10
- > PHP Fatal error
Uncaught Error: Class 'Nevillex_Widgets_Base' not found in wp-content/plugins/neville-extensions/sections/ads/ads.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neville-extensions/widgets/instagram/instagram-tmpl.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/neville-extensions/widgets/base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neville-extensions/settings-pages/instagram.php:27
- > PHP Fatal error
Uncaught Error: Class 'Nevillex_Widgets_Base' not found in wp-content/plugins/neville-extensions/sections/instagram/instagram.php:10
- > PHP Fatal error
Uncaught Error: Class 'Nevillex_Widgets_Base' not found in wp-content/plugins/neville-extensions/widgets/instagram/instagram.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please add at least on tag
neville-extensions/neville-extensions.php Passed 13 tests
The main PHP script in "Neville Extensions" version 1.0.0 is automatically included on every request by WordPress
118 characters long description:
Adds front page sections (Instagram, Ads), a post title design option and other extensions to Neville WordPress theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,647 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 440 | 893 | 1,595 |
JavaScript | 2 | 15 | 42 | 42 |
CSS | 1 | 1 | 8 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 17.71 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 3 | 8.33% |
▷ Public methods | 33 | 91.67% |
▷ Protected methods | 3 | 8.33% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin