Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/nora-cta/nora-cta.php+523
Non-static method Nora_CTA::init() should not be called statically
Server metrics [RAM: ▼1.97MB] [CPU: ▼58.19ms] Passed 4 tests
Analyzing server-side resources used by Nora-CTA - Really Simple Call To Action Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.67 ▼36.91 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.56 ▼59.59 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.22 ▼41.49 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.26 ▼94.75 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.90 ▼33.05 |
CTA /wp-admin/edit.php?post_type=nora_cta | 2.05 | 5.09 |
Add New /wp-admin/post-new.php?post_type=nora_cta | 2.05 | 4.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Nora-CTA - Really Simple Call To Action Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.69 ▲0.34 | 2.10 ▲0.31 | 47.32 ▲3.38 |
Dashboard /wp-admin | 2,224 ▲47 | 5.62 ▼0.05 | 97.21 ▼8.95 | 38.21 ▼3.85 |
Posts /wp-admin/edit.php | 2,129 ▲32 | 2.04 ▲0.06 | 40.14 ▲5.38 | 35.27 ▼1.47 |
Add New Post /wp-admin/post-new.php | 6,264 ▲4,736 | 18.95 ▼4.25 | 911.01 ▲223.32 | 56.43 ▲6.40 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.26 ▲0.18 | 99.75 ▼16.77 | 44.28 ▼4.42 |
CTA /wp-admin/edit.php?post_type=nora_cta | 1,093 | 1.99 | 33.13 | 31.57 |
Add New /wp-admin/post-new.php?post_type=nora_cta | 2,250 | 7.51 | 171.36 | 72.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/nora-cta/nora-cta.php+523
Non-static method Nora_CTA::init() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-content/plugins/nora-cta/nora-cta.php+523
Non-static method Nora_CTA::init() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Nora_CTA::display_nora_cta() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Nora_CTA::load_textdomain() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Nora_CTA::register_cta_post_type() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Nora_CTA::admin_style() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+312
Non-static method Nora_CTA::save_meta_box() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-content/plugins/nora-cta/nora-cta.php+366
Non-static method Nora_CTA::check_nonce() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Nora_CTA::add_cta_meta_box() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-admin/includes/template.php+1443
Non-static method Nora_CTA::meta_box_ui() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Deprecated in wp-content/plugins/nora-cta/nora-cta.php+330
Non-static method Nora_CTA::set_nonce() should not be called statically
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Notice in wp-content/plugins/nora-cta/nora-cta.php+346
Undefined variable: title
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Notice in wp-content/plugins/nora-cta/nora-cta.php+347
Undefined variable: disc
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Notice in wp-content/plugins/nora-cta/nora-cta.php+348
Undefined variable: btn_text
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Notice in wp-content/plugins/nora-cta/nora-cta.php+349
Undefined variable: url
- > GET request to /wp-admin/post-new.php?post_type=nora_cta
- > Notice in wp-content/plugins/nora-cta/nora-cta.php+352
Undefined variable: footer
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in nora-cta/assets to your readme.txt
nora-cta/nora-cta.php Passed 13 tests
The entry point to "Nora-CTA - Really Simple Call To Action Manager" version 1.0.1 is a PHP file that has certain tags in its header comment area
56 characters long description:
Nora-CTA plugin create and manage simple call-to-action.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected413 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 124 | 336 |
CSS | 2 | 5 | 0 | 39 |
PO File | 1 | 11 | 11 | 38 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 were not PNG files found in your plugin