Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.60ms] Passed 4 tests
An overview of server-side resources used by Beamer - newsfeed and push notifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 41.61 ▼4.95 |
Dashboard /wp-admin | 3.57 ▲0.27 | 49.91 ▲0.13 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 55.81 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 95.83 ▲4.71 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 39.28 ▲4.11 |
Beamer Settings /wp-admin/options-general.php?page=beamer-settings | 3.46 | 37.57 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Beamer - newsfeed and push notifications
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.24 ▼1.14 | 1.79 ▼0.00 | 43.55 ▼2.59 |
Dashboard /wp-admin | 2,218 ▲30 | 4.86 ▼0.03 | 102.18 ▼13.87 | 42.23 ▲2.35 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 2.04 ▼0.01 | 40.80 ▲2.60 | 34.85 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.16 ▲0.03 | 632.15 ▼76.71 | 50.34 ▼1.28 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.21 ▲0.06 | 98.19 ▼9.42 | 48.84 ▲2.90 |
Beamer Settings /wp-admin/options-general.php?page=beamer-settings | 1,787 | 1.83 | 28.79 | 70.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beamer/beamer-api-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/beamer/beamer-settings.php:1071
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beamer/beamer-api-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function bmr_url_signup() in wp-content/plugins/beamer/beamer-settings-panel.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/beamer/beamer-settings.php:1071
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
beamer/index.php 85% from 13 tests
The entry point to "Beamer - newsfeed and push notifications" version 5.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("beamer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,399 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 139 | 269 | 1,841 |
CSS | 2 | 96 | 4 | 442 |
SVG | 8 | 0 | 8 | 102 |
Markdown | 1 | 4 | 0 | 13 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 85.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 170.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 60 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin