Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.52MB] [CPU: ▼47.58ms] Passed 4 tests
This is a short check of server-side resources used by North Extensions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.47 ▼0.99 | 12.48 ▼27.48 |
Dashboard /wp-admin | 2.48 ▼0.82 | 10.71 ▼42.33 |
Posts /wp-admin/edit.php | 2.48 ▼0.87 | 13.91 ▼28.66 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.40 | 12.83 ▼91.86 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 14.39 ▼18.60 |
Instagram Settings /wp-admin/options-general.php?page=northe-instagram-settings | 2.48 | 12.69 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_north-w-das |
theysaidso_admin_options |
widget_north-wid-instagram |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for North Extensions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.21 ▼1.16 | 4.35 ▲2.50 | 40.68 ▼3.69 |
Dashboard /wp-admin | 2,214 ▲26 | 4.88 ▼0.05 | 110.42 ▼1.53 | 41.41 ▼5.15 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.02 ▲0.02 | 39.17 ▼0.67 | 35.27 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6,237 ▲4,695 | 26.16 ▲7.76 | 872.30 ▲237.39 | 72.09 ▲17.49 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.25 ▲0.04 | 94.65 ▼3.29 | 41.85 ▼1.11 |
Instagram Settings /wp-admin/options-general.php?page=northe-instagram-settings | 825 | 2.05 | 27.49 | 33.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/acosmin-north-extensions/widgets/instagram/instagram-class.php+58
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_north-wid-instagram
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_north-w-das
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=northe-instagram-settings
- > Notice in wp-content/plugins/acosmin-north-extensions/settings-pages/instagram.php+87
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/widgets/init.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/inc/enqueue-backend.php:31
- > PHP Fatal error
Uncaught Error: Class 'Northe_Widgets_Base' not found in wp-content/plugins/acosmin-north-extensions/widgets/ads/ads.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/widgets/ads/ads-tmpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/customizer/init.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/sections/instagram/instagram-tmpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/modules/title-design/init.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acosmin-north-extensions/sections/init.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/acosmin-north-extensions/sections/category/category.php:10
- > PHP Fatal error
Uncaught Error: Class 'Northe_Widgets_Base' not found in wp-content/plugins/acosmin-north-extensions/sections/ads/ads.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There were no tags found
acosmin-north-extensions/acosmin-north-extensions.php Passed 13 tests
The main PHP script in "North Extensions" version 1.0.0 is automatically included on every request by WordPress
116 characters long description:
Adds front page sections (Instagram, Ads), a post title design option and other extensions to North 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
Good job! No executable or dangerous file extensions detected1,648 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 444 | 893 | 1,603 |
JavaScript | 2 | 15 | 42 | 42 |
CSS | 1 | 1 | 8 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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
No PNG files were detected