Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/entrepreneurship-1/entrepreneurship.php+51
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.09MB] [CPU: ▼149.59ms] Passed 4 tests
A check of server-side resources used by Entrepreneurship +1
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.06 ▲0.34 | 36.83 ▲5.72 |
Dashboard /wp-admin | 3.22 ▲0.17 | 33.56 ▼14.48 |
Posts /wp-admin/edit.php | 3.28 ▲0.17 | 32.74 ▼9.86 |
Add New Post /wp-admin/post-new.php | 5.23 ▼0.20 | 75.31 ▼569.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.23 | 32.17 ▼4.46 |
General /wp-admin/admin.php?page=epo_general | 3.20 | 30.36 |
Social Networks /wp-admin/admin.php?page=epo_networks | 3.20 | 27.55 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
epo_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Entrepreneurship +1
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲121 | 15.87 ▲0.26 | 9.66 ▼0.74 | 47.11 ▲4.21 |
Dashboard /wp-admin | 2,991 ▲60 | 5.89 ▼0.17 | 146.21 ▼11.21 | 128.99 ▲13.77 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.60 ▼0.12 | 63.11 ▼15.39 | 82.26 ▼5.26 |
Add New Post /wp-admin/post-new.php | 1,796 ▼1,844 | 21.50 ▲6.61 | 289.26 ▼167.39 | 128.82 ▲5.78 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.03 ▲0.02 | 136.91 ▼18.83 | 139.21 ▲13.58 |
General /wp-admin/admin.php?page=epo_general | 1,195 | 2.49 | 58.35 | 75.86 |
Social Networks /wp-admin/admin.php?page=epo_networks | 1,726 | 2.49 | 61.63 | 89.55 |
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
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/entrepreneurship-1/uninstall.php+12
Use of undefined constant any - assumed 'any' (this will throw an Error in a future version of PHP)
Smoke tests 50% 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 errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=epo_networks
- > User deprecated in wp-includes/functions.php+5586
contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/entrepreneurship-1/entrepreneurship.php:38
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
entrepreneurship-1/entrepreneurship.php 92% from 13 tests
Analyzing the main PHP file in "Entrepreneurship +1" version 1.1
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("entrepreneurship-1.php" instead of "entrepreneurship.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,487 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 202 | 146 | 1,231 |
PO File | 1 | 98 | 118 | 210 |
JavaScript | 2 | 7 | 6 | 46 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 63 | |
▷ Named functions | 63 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin