10% no-more-frames

Code Review | No More Frames

WordPress plugin No More Frames scored10%from 54 tests.

About plugin

  • Plugin page: no-more-frames
  • Plugin version: 2017.08.13
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.8.0
  • WordPress version: 6.3.1
  • First release: Jan 25, 2009
  • Latest release: Jul 13, 2017
  • Number of updates: 51
  • Update frequency: every 60.8 days
  • Top authors: christopherross (96.08%)horshipsrectors (5.88%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /59,076 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/no-more-frames/no-more-frames.php+45
    include_once(horshipsrectors-common.php): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.53ms] Passed 4 tests

Analyzing server-side resources used by No More Frames
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0048.72 ▼0.05
Dashboard /wp-admin3.31 ▲0.0052.41 ▼0.29
Posts /wp-admin/edit.php3.36 ▲0.0051.12 ▼0.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.27 ▼8.96
Media Library /wp-admin/upload.php3.23 ▲0.0040.09 ▲4.94

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for No More Frames
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.27 ▼0.081.57 ▼0.2240.22 ▲0.11
Dashboard /wp-admin2,195 ▲155.49 ▼0.1588.42 ▼3.1739.85 ▼5.28
Posts /wp-admin/edit.php2,103 ▲32.01 ▼0.0239.26 ▲2.6533.51 ▼1.82
Add New Post /wp-admin/post-new.php1,526 ▼023.25 ▼0.07682.94 ▲4.9558.94 ▲0.25
Media Library /wp-admin/upload.php1,394 ▼64.17 ▼0.0996.50 ▼7.5142.39 ▼3.70

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

no-more-frames/no-more-frames.php Passed 13 tests

"No More Frames" version 2017.08.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
Forces frames to reload to the website homepage.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin48 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2266648

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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