Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼149.55ms] Passed 4 tests
Analyzing server-side resources used by Remove Projects in Divi
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.09 | 37.62 ▼1.04 |
Dashboard /wp-admin | 3.15 ▲0.10 | 55.16 ▼2.75 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 49.25 ▼9.88 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 98.46 ▼583.47 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 36.40 ▼2.10 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 129 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Remove Projects in Divi: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 16.11 ▲0.26 | 11.04 ▲0.65 | 54.93 ▲3.28 |
Dashboard /wp-admin | 2,970 ▲33 | 5.90 ▼0.06 | 146.84 ▼23.10 | 116.31 ▼4.93 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 81.60 ▲4.66 | 95.11 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 16.21 ▲0.48 | 411.41 ▼30.30 | 119.13 ▲3.98 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.03 | 161.27 ▼7.19 | 124.28 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 89× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/remove-projects-in-divi/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: project, projects, divi, elegantthemes, elegant themes
remove-projects-in-divi/remove-projects-in-divi.php Passed 13 tests
The primary PHP file in "Remove Projects in Divi" version 1.3.8 is used by WordPress to initiate all plugin functionality
55 characters long description:
Removes the Project custom post type in the Divi theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin4,209 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 104 | 449 | 727 | 2,472 |
JSON | 6 | 0 | 0 | 1,540 |
JavaScript | 7 | 4 | 7 | 140 |
XML | 2 | 11 | 2 | 35 |
Markdown | 1 | 11 | 0 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 2.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 97 | |
▷ Abstract classes | 1 | 1.03% |
▷ Concrete classes | 96 | 98.97% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 4 | 3.23% |
▷ Public methods | 83 | 66.94% |
▷ Protected methods | 30 | 24.19% |
▷ Private methods | 11 | 8.87% |
Functions | 9 | |
▷ Named functions | 2 | 22.22% |
▷ Anonymous functions | 7 | 77.78% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected