Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/marfeelpress/marfeel-press.php+38
include_once(wp-content/plugins/marfeelpress/includes/base/src/services/definition/class-marfeel-press-definition-builder.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.27MB] [CPU: ▼40.86ms] Passed 4 tests
A check of server-side resources used by MarfeelPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 11.86 ▼26.18 |
Dashboard /wp-admin | 3.74 ▲0.43 | 16.36 ▼32.07 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 15.75 ▼30.39 |
Add New Post /wp-admin/post-new.php | 3.74 ▼2.15 | 14.48 ▼74.79 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 17.09 ▼18.43 |
Server storage [IO: ▲5.04MB] [DB: ▲0.20MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- Illegal file modification found: 2 files (0.00KB) outside of "wp-content/plugins/marfeelpress/" and "wp-content/uploads/"
- (new file) ads.mrf.txt
- (new file) ads.txt
Filesystem: 1,220 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
mrf_definition |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for MarfeelPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 15.52 ▲0.96 | 1.50 ▼0.06 | 36.79 ▼6.84 |
Dashboard /wp-admin | 2,279 ▲102 | 5.61 ▲0.04 | 81.26 ▼9.80 | 43.70 ▲0.68 |
Posts /wp-admin/edit.php | 2,190 ▲90 | 2.05 ▲0.02 | 36.25 ▲1.44 | 32.35 ▼9.38 |
Add New Post /wp-admin/post-new.php | 6,302 ▲4,774 | 20.97 ▼2.26 | 901.99 ▲246.03 | 46.01 ▼7.46 |
Media Library /wp-admin/upload.php | 1,484 ▲90 | 4.17 ▼0.01 | 95.86 ▼5.07 | 44.03 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.20MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/marfeelpress/marfeel-press.php+38
include_once(wp-content/plugins/marfeelpress/includes/base/src/services/definition/class-marfeel-press-definition-builder.php): failed to open stream: No such file or directory
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- mrf_definition
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/marfeelpress/includes/base/src/templates/meta-mrf-extractable.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/components/mrf-footer.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/mrf-token-handshake.php
- > /wp-content/plugins/marfeelpress/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/mrf-reload-window-template.php
- > /wp-content/plugins/marfeelpress/includes/base/src/templates/marfeelgarda.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/components/mrf-inspectlet.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/components/mrf-back-icon.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/mrf-settings-dev-template.php
- > /wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/components/mrf-logo.php
- 678× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'API\\Mrf_API' not found in wp-content/plugins/marfeelpress/includes/api/src/widgets/class-mrf-widgets-api.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Marfeel\\Symfony\\Component\\Console\\Output\\OutputInterface' not found in wp-content/plugins/marfeelpress/vendor/symfony/console/Output/ConsoleOutputInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Twig_RuntimeLoaderInterface' not found in wp-content/plugins/marfeelpress/vendor/twig/twig/lib/Twig/FactoryRuntimeLoader.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig_TokenParser' not found in wp-content/plugins/marfeelpress/vendor/twig/twig/lib/Twig/TokenParser/Flush.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig_BaseNodeVisitor' not found in wp-content/plugins/marfeelpress/vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Marfeel\\Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/marfeelpress/vendor/symfony/css-selector/Parser/Handler/WhitespaceHandler.php:26
- > PHP Notice
Undefined variable: context in wp-content/plugins/marfeelpress/includes/admin/src/pages/templates/mrf-leroy-template.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'Marfeel\\Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/marfeelpress/vendor/symfony/translation/Dumper/IniFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Class 'API\\Extract\\Marfeel_Press_Gutenberg_Content_API' not found in wp-content/plugins/marfeelpress/includes/api/src/extract/class-marfeel-press-extractor-api.php:11
- > PHP Fatal error
Uncaught Error: Class 'Marfeel\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/marfeelpress/vendor/monolog/monolog/src/Monolog/Handler/AmqpHandler.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
No tags were detected
marfeelpress/marfeel-press.php 92% from 13 tests
The principal PHP file in "MarfeelPress" v. 2.1.338 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("marfeelpress.php" instead of "marfeel-press.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .exe - Executable in Windows
- ☣ wp-content/plugins/marfeelpress/vendor/symfony/console/Resources/bin/hiddeninput.exe
- .exe - Executable in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,142 | 15,128 | 30,575 | 60,564 |
XSD | 3 | 92 | 48 | 2,803 |
C | 2 | 223 | 194 | 1,083 |
YAML | 3 | 89 | 33 | 452 |
Sass | 14 | 37 | 4 | 294 |
Markdown | 6 | 59 | 0 | 151 |
SVG | 6 | 0 | 1 | 122 |
C/C++ Header | 2 | 19 | 21 | 55 |
HTML | 1 | 9 | 0 | 49 |
m4 | 2 | 13 | 12 | 46 |
make | 1 | 8 | 0 | 30 |
JavaScript | 2 | 2 | 0 | 16 |
reStructuredText | 1 | 5 | 1 | 9 |
CSS | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 7.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 174 | |
Interfaces | 103 | |
Traits | 2 | |
Classes | 1,000 | |
▷ Abstract classes | 62 | 6.20% |
▷ Concrete classes | 938 | 93.80% |
▷ Final classes | 7 | 0.75% |
Methods | 4,798 | |
▷ Static methods | 282 | 5.88% |
▷ Public methods | 3,754 | 78.24% |
▷ Protected methods | 577 | 12.03% |
▷ Private methods | 467 | 9.73% |
Functions | 397 | |
▷ Named functions | 107 | 26.95% |
▷ Anonymous functions | 290 | 73.05% |
Constants | 395 | |
▷ Global constants | 29 | 7.34% |
▷ Class constants | 366 | 92.66% |
▷ Public constants | 366 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin